Editor (GraphicalEditorWithFlyoutPalette ) won't open [message #249135] |
Wed, 03 June 2009 08:03  |
Eclipse User |
|
|
|
Hi Everyone!
Im trying to open an GEF-Editor. My class is extended from
GraphicalEditorWithFlyoutPalette but when i try to open it i get the
following error:
"Could not open the editor: The editor class could not be instantiated.
This usually indicates a missing no-arg constructor or that the editor's
class name was mistyped in plugin.xml."
And in the details:
java.lang.NoClassDefFoundError:
org/eclipse/ui/views/properties/IPropertySheetEntry
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:170)
.......
The Editor-ID is correct i copied it from the plugin.xml and my Editor
class and my EditorInput class have both an Constructor with no argument.
Most importent: if i extend my Editor from EditorPart - i don't get an
error and the Editor opens.
Is this an common error, a new bug or am i doing something wrong?
Thanks in advance
Chris
|
|
|
|
Powered by
FUDForum. Page generated in 0.02727 seconds