Removing "Delete from model" action [message #188193] |
Wed, 21 May 2008 12:27 |
exquisitus Messages: 18 Registered: July 2009 |
Junior Member |
|
|
Hi all,
I would like to remove any "Delete from model" action from the contextual
model.
To achieve this, I have found how to remove them in the extension point
" org.eclipse.gmf.runtime.common.ui.services.action.contributi onItemProviders ".
by removing this section for example :
<popupContribution
class=" org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextM enuProvider ">
<popupStructuredContributionCriteria
objectClass=" fr.itcs.architecture.diagram.edit.parts.ISimObjectClassExten dedISimObjectClassesEditPart "/>
<popupAction path="/editGroup" id="deleteFromModelAction"/>
</popupContribution>
My problem :
- this action still appears when the user selects different kinds of
model element in the diagram.
Is there a way to avoid this ?
Thank you,
Sylvain
|
|
|
Powered by
FUDForum. Page generated in 0.04619 seconds