[EEF] Using Ecore consisting of subpackages fails [message #623023] |
Wed, 30 June 2010 10:30 |
No real name Messages: 1 Registered: July 2010 |
Junior Member |
|
|
Hi,
I'm trying to use EEF. The Ecore file with the language definition contains
a package cif, which contains the subpackages annotations, types and
expressions. Generating EEF architecture results in, amongst others, the
files X_properties.plugin.xml for X in {annotations, types, expressions,
cif}. I've merged these files (omitting the 'double' parts) into the
plugin.xml and adapted the CifEditor.java according to the EEF tutorial.
For (instances of) classes from the cif package, the 'EEF property views'
are shown 1) in the property pane, and 2) after doubleclick on such an
instance. However, for (instances of) classes from the subpackages the
property pane shows 'Properties are not available', while after doubleclick
on such a class, the 'EEF property view' is shown in a window. Closing this
window results in a NullPointerException:
(Caused by: java.lang.NullPointerException
at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPa ge.refresh(
TabbedPropertySheetPage.java:749)
at
nl.tue.cif.v2x1x1.metamodel.cif.presentation.CifEditor$4$1.r un(CifEditor.java:732)
This behavior does not change when also the XEditor.java for X in
{annotations, types, expressions} are adapted as described in the EEF
tutorial.
My questions:
1) Should I adapt the XEditor.java files for the subpackages?
2) How to get it work ;)
Thanks in advance,
Ramon
|
|
|
Powered by
FUDForum. Page generated in 0.02752 seconds