| Package Selection for my Plugin [message #454894] |
Mon, 02 May 2005 03:47  |
Eclipse User |
|
|
|
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 #454989 is a reply to message #454968] |
Wed, 04 May 2005 06:20  |
Eclipse User |
|
|
|
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)
|
|
|
Powered by
FUDForum. Page generated in 0.20544 seconds