eclipse rcp - Minimal JFace application making use of FilteredTree -
in rcp application have jface dialog making use of filteredtree, depends on running platformui.
now want add main
method dialog class, can start dialog testing purpose quickly. exception within filteredtree ctor:
exception in thread "main" java.lang.noclassdeffounderror: org/eclipse/e4/core/di/injectionexception @ org.eclipse.ui.platformui.isworkbenchrunning(platformui.java:114) @ org.eclipse.ui.plugin.abstractuiplugin.imagedescriptorfromplugin(abstractuiplugin.java:669) @ org.eclipse.ui.dialogs.filteredtree.<clinit>(filteredtree.java:196) @ my.mydialog.createdialogarea(mydialog.java:361)
is there simple solution?
you can't add main
method. eclipse has huge amount of initialization must done before plug-in code can run , requires normal eclipse main method used.
Comments
Post a Comment