Community
Participate
Working Groups
Build ID: GEF-zest-sdk-3.5.0M4 Steps To Reproduce: Download Zest examples, disable dependency to org.eclipse.ui.workbench and run any of the JFace snippets. They will fail with a NoClassDefFoundError, because of missing dependency to IDisposable: java.lang.NoClassDefFoundError: org/eclipse/ui/services/IDisposable IEntityStyleProvider is used e.g. in class GraphItemStyler, which in turn is used in class AbstractStylingModelFactory. More information: I would like to use Zest in a pure SWT/JFace or even Swing application, which should be possible, as there are working examples even in Zest source code (ok, the SimpleSWTExample needs org.eclipse.core.commands and org.eclipse.equinox.common, but that is just the example). When using JFace viewers, IEntityStyleProvider pulls in a dependency on org.eclipse.ui.services.IDisposable, which is contained in plugin/jar org.eclipse.ui.workbench_<version>.jar. Requiring 4MB of code for a single interface qualifies as a bug in may opinion...
Great Catch!!! Zest is supposed to work in a pure SWT/JFace app, so this is a bug. Let me see what I can do here.