Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » AssociationEditHelperAdvice and getAfterSetCommand
AssociationEditHelperAdvice and getAfterSetCommand [message #929506] Mon, 01 October 2012 14:19
Simon Schwichtenberg is currently offline Simon SchwichtenbergFriend
Messages: 126
Registered: September 2011
Senior Member

I want to create an EditHelperAdvice for Associations. When the name of the Association is changed in the properties view, I want to change the behaviour of the getAfterSetCommand method. This works so far with the following plugin.xml configuration:

<extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypes">
 <metamodel nsURI="">			

<extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings">
 <binding context="">
  <advice ref="de.upb.swt.rsdl.editor.ext.advice.AssociationEditHelperAdviceTypes" />

Unfortunately, whenever I use AssociationBase as typeId, the "Delete Selected Element" menu item from the context menu for Associations is not available any longer (it is grayed out).

When I use org.eclipse.papyrus.uml.Association as typeId instead, getAfterSetCommand is not invoked.

How can I access the getAfterSetCommand for Associations?

Previous Topic:Stereotype icons with vectorgraphics
Next Topic:Cannot Move Class Diagram
Goto Forum:

Current Time: Sun Apr 22 14:24:45 GMT 2018

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

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