[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: How to remove the sub menus of 'Add' Context Menu ?

Hi Setya

If u don't find the below popcontribution add

<popupContribution class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextMenuProvider">
<popupStructuredContributionCriteria objectClass="org.eclipse.gmf.runtime.diagram.ui.geoshapes.internal.editparts.GeoShapeEditPart">
</popupStructuredContributionCriteria>
<popupPredefinedItem id="add" remove="true"/>
<popupPredefinedItem id="autoSizeAction" path="/formatMenu/" remove="true">
</popupPredefinedItem>
</popupContribution>


I think it should work.

Regards
Govind.