Package org.eclipse.ui.internal
Class ActionSetSeparator
java.lang.Object
org.eclipse.jface.action.ContributionItem
org.eclipse.ui.internal.ActionSetSeparator
- All Implemented Interfaces:
- IContributionItem,- IActionSetContributionItem
This class represents a pseudo-group defined by an action set. It is not a
 real group ( aka GroupMarker ) because that would interfere with the
 pre-existing groups in a menu or toolbar.
- 
Constructor SummaryConstructorsConstructorDescriptionActionSetSeparator(String groupName, String newActionSetId) Constructs a new group marker.
- 
Method SummaryModifier and TypeMethodDescriptionvoidThe default implementation of thisIContributionItemmethod does nothing.voidThe default implementation of thisIContributionItemmethod does nothing.Returns the action set id.booleanTheSeparatorimplementation of thisIContributionItemmethod returnstruevoidsetActionSetId(String newActionSetId) Sets the action set id.Methods inherited from class org.eclipse.jface.action.ContributionItemdispose, fill, fill, getId, getParent, isDirty, isDynamic, isEnabled, isGroupMarker, isVisible, saveWidgetState, setId, setParent, setVisible, toString, update, update
- 
Constructor Details- 
ActionSetSeparatorConstructs a new group marker.
 
- 
- 
Method Details- 
fillDescription copied from class:ContributionItemThe default implementation of thisIContributionItemmethod does nothing. Subclasses may override.- Specified by:
- fillin interface- IContributionItem
- Overrides:
- fillin class- ContributionItem
- Parameters:
- menu- the parent menu
- index- the index where the controls are inserted, or- -1to insert at the end
 
- 
fillDescription copied from class:ContributionItemThe default implementation of thisIContributionItemmethod does nothing. Subclasses may override.- Specified by:
- fillin interface- IContributionItem
- Overrides:
- fillin class- ContributionItem
- Parameters:
- toolbar- the parent tool bar
- index- the index where the controls are inserted, or- -1to insert at the end
 
- 
getActionSetIdReturns the action set id.- Specified by:
- getActionSetIdin interface- IActionSetContributionItem
 
- 
isSeparatorpublic boolean isSeparator()TheSeparatorimplementation of thisIContributionItemmethod returnstrue- Specified by:
- isSeparatorin interface- IContributionItem
- Overrides:
- isSeparatorin class- ContributionItem
- Returns:
- trueif this item is a separator, and- falsefor normal items
- See Also:
 
- 
setActionSetIdSets the action set id.- Specified by:
- setActionSetIdin interface- IActionSetContributionItem
 
 
-