Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » popupMenus extension plugin problem:Unhandled event loop exception
popupMenus extension plugin problem:Unhandled event loop exception [message #698987] Wed, 20 July 2011 15:37
vincent988923 is currently offline vincent988923Friend
Messages: 29
Registered: June 2011
Junior Member
Hi, I have a problem about the popupMenus in GMF.

It's very strange because sometimes it works, but sometimes not.
When it crashes, it will have a Unhandled event loop exception error.
But I always don't know where the error comes from.

I'm very appreciated for your help. The code in the plugin.xml is like below.
<extension
         point="org.eclipse.ui.popupMenus">
 	 <objectContribution
        adaptable="false"
        id="com.example.rdp.objectContribution"
        objectClass="org.eclipse.gmf.runtime.diagram.ui.editparts.AbstractBorderedShapeEditPart">
        <menu
           id="Simulation"
           label="&amp;Simulation"
           path="additions">
           <separator name="additions"/>
     	</menu>
     <action
           class="rdp.extension.SimulationRunStepByStep"
           enablesFor="1"
           id="com.example.rdp.objectContribution.simulation.stepbystep"
           label="Step by Step"
           menubarPath="Simulation/additions"/>
     <action
           class="rdp.extension.SimulationRunFast"
           enablesFor="1"
           id="com.example.rdp.objectContribution.simulation.runfast"
           label="Fast Run"
           menubarPath="Simulation/additions"/>
     <action
           class="rdp.extension.SimulationRunSlow"
           enablesFor="1"
           id="com.example.rdp.objectContribution.simulation.runslow"
           label="Slow Run"
           menubarPath="Simulation/additions"/>
  </objectContribution>
</extension>
Previous Topic:Auto Arrange - control over some nodes
Next Topic:how to create popup for the properties of the nodes?
Goto Forum:
  


Current Time: Tue Apr 16 21:43:21 GMT 2024

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

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

Back to the top