[EEF] Integration with GMF [message #1440816] |
Wed, 08 October 2014 22:44 |
Nigel Daniels Messages: 40 Registered: May 2011 |
Member |
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.01974 seconds