Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Removing "Delete from model" action
Removing "Delete from model" action [message #188193] Wed, 21 May 2008 12:27
exquisitus is currently offline exquisitusFriend
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
Previous Topic:Killing "Core" tab property
Next Topic:changes in templates between versions of GMF ?
Goto Forum:
  


Current Time: Mon Sep 23 07:28:25 GMT 2024

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

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

Back to the top