EditHelperAdvice not triggered [message #530681] |
Fri, 30 April 2010 14:08 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Pettax ![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=mirakelvovve%40hotmail.com) Messages: 7 Registered: April 2010 |
Junior Member |
|
|
Hi,
I've extended the element type registry with a few entries looking something like below:
<specializationType
id="myId"
name="myName"
kind="org.eclipse.gmf.runtime.diagram.ui.util.INotationType "
edithelperadvice="com.mycompany.MyTypeEditHelperAdvice">
<specializes id="org.eclipse.gmf.runtime.emf.type.core.null"/>
<param name="semanticHint" value="myName"/>
</specializationType>
I use the INotationType kind not to affect the semantic model and specialize org.eclipse.gmf.runtime.emf.type.core.null to add a completely new element to the picture. It does not seem like the edithelperadvice is beeing consulted? Could this be the case? If so, is this becasue it is a notational element only and that the edithelperadvice is only consulted for changes to the semantic model?
What is the best way to add limitations on how I can connect my new symbols? Do I use edithelperadvices, editpolicies or something else?
Br,
Pettax
[Updated on: Fri, 30 April 2010 17:01] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03859 seconds