[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] TypeSelector Dialog

Hello,

I'd like to integrate a TypeSelector Dialog such as the one you can find
doin the following:
- In a Java Package, right click on the package
- select 'new' > 'Class'
- When one clicks on the 'Browse Button' for specifying the SuperType of
the new class, he gets presented a TypeSelector Dialog.

That is the one I'd like to use in my Eclipse plugin.

I found a class TypeSelectionDialog. Problem is that this class is not in
the org.eclipse.ui.dialogs package but in the
org.eclipse.jdt.internal.ui.dialogs package. Does this mean that one
should not use this?

Well, I tried to include all needed packages in my project (buth imports
and classpath adaptions). But when running the plugin, and clicking on the
'Browse' Button, it fails with an error message:
Unhandled exception caught in event loop.
Reason:
org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog

Can somebody help?

Another thing. The Java Docs (from the Eclipse help) seem not to be
correct concerning this. TypeFilteringDialog and TypeSelectionDialog got
mixed up in the documentation.