Package org.eclipse.ui.navigator
Class MenuInsertionPoint
java.lang.Object
org.eclipse.ui.navigator.MenuInsertionPoint
A descriptive construct to relay information about a menu insertion point;
including the name of the insertion point and whether the item should be
rendered as a separator or group marker.
- Since:
- 3.2
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MenuInsertionPoint
- Parameters:
aName
- The name that clients will refer to when inserting items into the menu at this point.toMakeASeparator
- A value of true will cause the point to be rendered as a org.eclipse.jface.action.Separator (a "bar" in the menu); false will cause the point to be rendered as a org.eclipse.jface.action.GroupMarker.
-
-
Method Details
-
isSeparator
public boolean isSeparator()- Returns:
- True if the point should be rendered as a org.eclipse.jface.action.Separator (a "bar" in the menu); or false if the point should be rendered as a org.eclipse.jface.action.GroupMarker.
-
getName
- Returns:
- The name that clients will refer to when inserting items into the menu at this point.
-
toString
-