[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Package Selection for my Plugin

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!