Delete from model for connections representing a reference [message #209092] |
Tue, 21 October 2008 12:00  |
Eclipse User |
|
|
|
Hi there,
I use GMF 2.0 with Eclipse Europa 3.3.
I have the following model :
- Entity
- friend --> Entity
I have a Node to represent Entity and a Connection to represent friendship
which is an EMF reference.
My problem :
- In the contextual menu of the Connection, I don't have "Delete from
model".
However, my plugin.xml has the following :
<popupContribution
class=" org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextM enuProvider ">
<popupStructuredContributionCriteria
objectClass="XXXFriendShipEditPart"/>
<popupPredefinedItem id="deleteFromDiagramAction"
remove="false"/>
<popupPredefinedItem id="deleteFromModelAction"
remove="false"/>
</popupContribution>
Could you help ?
Thanks,
Sylvain
|
|
|
|
Powered by
FUDForum. Page generated in 0.73684 seconds