Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EEF] Integration with GMF
[EEF] Integration with GMF [message #1440816] Wed, 08 October 2014 18:44
Eclipse UserFriend
Hi,

I have been working on integrating EEF with a GMF editor but seem to
keep hitting unexpected errors. I followed the advice here:

news://news.eclipse.org:119/kj4ae1$dp9$1@xxxxxxxxe.org

I set EEF to generate GMF compatible properties and have made the
suggested changes to the plugin.xml to use the EEF properties. When I
run the diagram I am developing I see that the 'Base' property sheet is
added but then get this exception (followed by two more):

!ENTRY org.eclipse.ui.views.properties.tabbed 4 2 2014-10-06 14:25:28.491
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.views.properties.tabbed".
!STACK 0
java.lang.NullPointerException
at
org.eclipse.emf.eef.runtime.context.impl.DomainPropertiesEditionContext.createPropertiesEditingComponent(DomainPropertiesEditionContext.java:86)
at
org.eclipse.emf.eef.runtime.part.impl.SectionPropertiesEditingPart.refreshComponent(SectionPropertiesEditingPart.java:189)
at
org.eclipse.emf.eef.runtime.part.impl.SectionPropertiesEditingPart.setInput(SectionPropertiesEditingPart.java:154)
at
org.eclipse.ui.views.properties.tabbed.TabContents$5.run(TabContents.java:181)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
...

It seems all of the problems I'm seeing are due to the call to
createPropertiesEditingComponent() returning a null
PropertyEditingComponent, yet the ID of the component is "Base" and the
mode is "Live". Having followed this through I can see that the eObject
that the create call is trying to adapt to a PropertiesEditingProvider
is the expected Impl of the selected part.

Is there something else I am not setting up correctly in my environment?
Any advice is welcome as this has me stumped :(

Nigel
Previous Topic:[EMF Forms] EMF Forms and GMF
Next Topic:[TEXO] autogenerate toString() should include super class
Goto Forum:
  


Current Time: Fri Jul 18 23:09:34 EDT 2025

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

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

Back to the top