Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Package Selection for my Plugin
Package Selection for my Plugin [message #454894] Mon, 02 May 2005 03:47 Go to next message
Eclipse UserFriend
Originally posted by: jbob.tesis.de

Hy,

the user of my plugin should be able to select a package out of all
packages the project knows.

If you create a new class in Eclipse you can select a package via a
dialog. Which kind of dialog is used there?

Thanks!
Re: Package Selection for my Plugin [message #454942 is a reply to message #454894] Tue, 03 May 2005 08:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jbob.tesis.de

It seems to me that there is no such simple solution, like a FileDialog
for browsing files.
So I took a TreeViewer with a content provider to get a result. Its not
exactly what I wanted, but thats (programmer's) life.

Jürgen Bobinger schrieb:
> Hy,
>
> the user of my plugin should be able to select a package out of all
> packages the project knows.
>
> If you create a new class in Eclipse you can select a package via a
> dialog. Which kind of dialog is used there?
>
> Thanks!
Re: Package Selection for my Plugin [message #454944 is a reply to message #454942] Tue, 03 May 2005 10:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bob.objfac.com

There certainly is a FileDialog. Does it not do what you want?

Bob Foster

Jürgen Bobinger wrote:
> It seems to me that there is no such simple solution, like a FileDialog
> for browsing files.
> So I took a TreeViewer with a content provider to get a result. Its not
> exactly what I wanted, but thats (programmer's) life.
>
> Jürgen Bobinger schrieb:
>
>> Hy,
>>
>> the user of my plugin should be able to select a package out of all
>> packages the project knows.
>>
>> If you create a new class in Eclipse you can select a package via a
>> dialog. Which kind of dialog is used there?
>>
>> Thanks!
Re: Package Selection for my Plugin [message #454968 is a reply to message #454944] Tue, 03 May 2005 10:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jbob.tesis.de

I know that there is a FileDialog.
I was hoping, that there is something similar for packages.

When you create a new class, you can choose a package in the wizard. My
goal was to include this package dialog in my plugin.

My last posting just wanted to say, that I use TreeViewer+content
provider. And this is working.

Greetings
Jürgen

Bob Foster schrieb:
> There certainly is a FileDialog. Does it not do what you want?
>
> Bob Foster
>
> Jürgen Bobinger wrote:
>
>> It seems to me that there is no such simple solution, like a
>> FileDialog for browsing files.
>> So I took a TreeViewer with a content provider to get a result. Its
>> not exactly what I wanted, but thats (programmer's) life.
>>
>> Jürgen Bobinger schrieb:
>>
>>> Hy,
>>>
>>> the user of my plugin should be able to select a package out of all
>>> packages the project knows.
>>>
>>> If you create a new class in Eclipse you can select a package via a
>>> dialog. Which kind of dialog is used there?
>>>
>>> Thanks!
Re: Package Selection for my Plugin [message #454989 is a reply to message #454968] Wed, 04 May 2005 06:20 Go to previous message
Eclipse UserFriend
Jürgen Bobinger:

How about JavaUI.createPackageDialog() methods?

> I know that there is a FileDialog.
> I was hoping, that there is something similar for packages.
>
> When you create a new class, you can choose a package in the wizard. My
> goal was to include this package dialog in my plugin.
>
> My last posting just wanted to say, that I use TreeViewer+content
> provider. And this is working.
>
> Greetings
> Jürgen
>
> Bob Foster schrieb:
>
>> There certainly is a FileDialog. Does it not do what you want?
>>
>> Bob Foster
>>
>> Jürgen Bobinger wrote:
>>
>>> It seems to me that there is no such simple solution, like a
>>> FileDialog for browsing files.
>>> So I took a TreeViewer with a content provider to get a result. Its
>>> not exactly what I wanted, but thats (programmer's) life.
>>>
>>> Jürgen Bobinger schrieb:
>>>
>>>> Hy,
>>>>
>>>> the user of my plugin should be able to select a package out of all
>>>> packages the project knows.
>>>>
>>>> If you create a new class in Eclipse you can select a package via a
>>>> dialog. Which kind of dialog is used there?
>>>>
>>>> Thanks!


--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Previous Topic:TableViewer, navigate by pressing the tab key
Next Topic:Tab Folder Background
Goto Forum:
  


Current Time: Fri Nov 07 14:36:57 EST 2025

Powered by FUDForum. Page generated in 0.20544 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top