Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » 3rd party GMF editor integration in Papyrus 0.10.0
3rd party GMF editor integration in Papyrus 0.10.0 [message #1073708] Thu, 25 July 2013 10:45 Go to next message
Simon Schwichtenberg is currently offline Simon SchwichtenbergFriend
Messages: 126
Registered: September 2011
Senior Member


I've integrated a gmf editor in Papyrus that does not base upon a UML model. At the moment I am updating from 0.9.6 to 0.10.0. I was able to fix all the things so that the integration works with 0.10.0, but every time a hover with the mouse over an edit part in the gmf editor I got this exception. Can I disable the navigation feature somehow?

!ENTRY org.eclipse.ui 4 0 2013-07-25 12:39:07.975
!MESSAGE Unhandled event loop exception
at org.eclipse.papyrus.infra.gmfdiag.navigation.editpolicy.NavigationEditPolicy.showTargetFeedback(
at org.eclipse.gef.editparts.AbstractEditPart.showTargetFeedback(
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.showTargetFeedback(
at org.eclipse.gef.EditDomain.mouseMove(
at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseMove(
at org.eclipse.swt.widgets.TypedListener.handleEvent(
at org.eclipse.swt.widgets.EventTable.sendEvent(
at org.eclipse.swt.widgets.Widget.sendEvent(
at org.eclipse.swt.widgets.Display.runDeferredEvents(
at org.eclipse.swt.widgets.Display.readAndDispatch(
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(
at org.eclipse.ui.internal.Workbench$
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
at org.eclipse.ui.internal.ide.application.IDEApplication.start(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(
at org.eclipse.equinox.launcher.Main.basicRun(
at org.eclipse.equinox.launcher.Main.main(
Re: 3rd party GMF editor integration in Papyrus 0.10.0 [message #1073756 is a reply to message #1073708] Thu, 25 July 2013 12:37 Go to previous message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 932
Registered: February 2011
Senior Member

This edit policy is installed on all Papyrus Edit Parts (i.e. All edit parts opened in a Papyrus editor).

However, I don't really understand in which case this NPE can happen.

I will still add a simple NPE check to prevent it.


Camille Letavernier
Previous Topic:I cannot install Papyrus Extra Feature in Kepler
Next Topic:Message Argument Vs Signal Attribute ?
Goto Forum:

Current Time: Mon Nov 30 08:55:43 GMT 2020

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

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

Back to the top