Class FilteringMenuManager
- java.lang.Object
-
- org.eclipse.jface.action.ContributionManager
-
- org.eclipse.jface.action.MenuManager
-
- org.yakindu.base.xtext.utils.jface.viewers.FilteringMenuManager
-
- All Implemented Interfaces:
IContributionItem
,IContributionManager
,IMenuManager
public class FilteringMenuManager extends MenuManager
Copied from DiagramContextMenuProvider
-
-
Field Summary
-
Fields inherited from class org.eclipse.jface.action.MenuManager
MANAGER_KEY, visible
-
-
Constructor Summary
Constructors Constructor Description FilteringMenuManager()
FilteringMenuManager(String text, String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
allowItem(IContributionItem itemToAdd)
-
Methods inherited from class org.eclipse.jface.action.MenuManager
addMenuListener, createContextMenu, createMenuBar, createMenuBar, dispose, doItemFill, fill, fill, fill, fill, findMenuUsingPath, findUsingPath, getId, getImageDescriptor, getMenu, getMenuItem, getMenuItemCount, getMenuItems, getMenuText, getOverrides, getParent, getRemoveAllWhenShown, isDynamic, isEnabled, isGroupMarker, isSeparator, isSubstituteFor, isVisible, markDirty, menuExist, removeMenuListener, saveWidgetState, setActionDefinitionId, setImageDescriptor, setMenuText, setOverrides, setParent, setRemoveAllWhenShown, setVisible, toString, update, update, update, update, updateAll
-
Methods inherited from class org.eclipse.jface.action.ContributionManager
add, add, appendToGroup, appendToGroup, dumpStatistics, find, getItems, getSize, hasDynamicItems, indexOf, indexOf, insert, insertAfter, insertAfter, insertBefore, insertBefore, internalSetItems, isDirty, isEmpty, itemAdded, itemRemoved, prependToGroup, prependToGroup, remove, remove, removeAll, replaceItem, setDirty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.jface.action.IContributionItem
isDirty
-
Methods inherited from interface org.eclipse.jface.action.IContributionManager
add, add, appendToGroup, appendToGroup, find, getItems, insertAfter, insertAfter, insertBefore, insertBefore, isDirty, isEmpty, prependToGroup, prependToGroup, remove, remove, removeAll
-
-
-
-
Method Detail
-
allowItem
protected boolean allowItem(IContributionItem itemToAdd)
- Overrides:
allowItem
in classContributionManager
-
-