Dialogs in org.eclipse.ui.workbench JAR [message #326844] |
Wed, 02 April 2008 05:09 |
Mark Dexter Messages: 324 Registered: July 2009 |
Senior Member |
|
|
Hi. I'm not sure if this is the right forum to post this. If not, please
let me know what is.
There was a recent article by Suresh Krishna in Eclipse Zone called
"Discover Eclipse's JFace Dialogs"
( http://eclipse.dzone.com/news/discover-eclipses-jface-dialog ?page=0%2C2),
about some very handy JFace Dialog classes.
Several of these (CheckedTreeSelectionDialog,
ElementListSelectionDialog, ElementTreeSelectionDialog, ListDialog,
ListSelectionDialog, and TwoPaneElementSelector) appear to be found in
the org.eclipse.ui.dialogs package of the org.eclipse.ui.workbench*.jar
file (including in 3.4M6).
I would have thought they would be in the JFace JAR file. Because they
are not, in order to use these in a stand-alone package, one has to
include this extra JAR file, which isn't too bad (once you have figured
out where they are!).
However, to further complicate matters, if you look at the plug-in
dependencies of the org.eclipse.ui.workbench, you get a long list of
over 25. Yet, at least based on some quick tests, it appears you can use
these Dialog classes without all of these other JAR files.
I find this confusing. Are these dialogs intended to be able to be used
in a non-plug-in Java project? If so, would it make sense to move them
either into the JFace JAR or somewhere that didn't have all of these
other org.eclipse.ui.workbench depencencies?
I apologize if I'm missing something basic here. Thanks.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03182 seconds