Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EEF] Using Ecore consisting of subpackages fails
[EEF] Using Ecore consisting of subpackages fails [message #623023] Wed, 30 June 2010 10:30
No real name is currently offline No real nameFriend
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
Previous Topic:Ecore2Ecore Mapping when target has multiple packages
Next Topic:[EEF]
Goto Forum:
  


Current Time: Fri Apr 26 18:15:18 GMT 2024

Powered by FUDForum. Page generated in 0.02752 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top