Package org.eclipse.ui.internal
Class ActionSetManager
java.lang.Object
org.eclipse.ui.internal.ActionSetManager
Maintains a reference counted set of action sets, with a visibility mask.
 This is used to determine the visibility of actions in a workbench page. In a
 workbench page, there may be may be many conditions that can cause an action
 set to become visible (such as the active part, the active editor, the
 default visibility of the action, the properties of the perspective, etc.)
 The user can also explicitly mask off particular action sets in each
 perspective.
 
The reference count indicates how many conditions have requested that the actions be active and the mask indicates whether or not the set was disabled by the user.
- Since:
- 3.1
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidchange(org.eclipse.ui.internal.registry.IActionSetDescriptor descriptor, int changeType) voidhideAction(org.eclipse.ui.internal.registry.IActionSetDescriptor descriptor) voidmaskAction(org.eclipse.ui.internal.registry.IActionSetDescriptor descriptor) voidvoidshowAction(org.eclipse.ui.internal.registry.IActionSetDescriptor descriptor) voidunmaskAction(org.eclipse.ui.internal.registry.IActionSetDescriptor descriptor) 
- 
Field Details- 
PROP_VISIBLEpublic static final int PROP_VISIBLE- See Also:
 
- 
PROP_HIDDENpublic static final int PROP_HIDDEN- See Also:
 
- 
CHANGE_MASKpublic static final int CHANGE_MASK- See Also:
 
- 
CHANGE_UNMASKpublic static final int CHANGE_UNMASK- See Also:
 
- 
CHANGE_SHOWpublic static final int CHANGE_SHOW- See Also:
 
- 
CHANGE_HIDEpublic static final int CHANGE_HIDE- See Also:
 
 
- 
- 
Constructor Details- 
ActionSetManager
 
- 
- 
Method Details- 
addListener
- 
removeListener
- 
showActionpublic void showAction(org.eclipse.ui.internal.registry.IActionSetDescriptor descriptor) 
- 
hideActionpublic void hideAction(org.eclipse.ui.internal.registry.IActionSetDescriptor descriptor) 
- 
maskActionpublic void maskAction(org.eclipse.ui.internal.registry.IActionSetDescriptor descriptor) 
- 
unmaskActionpublic void unmaskAction(org.eclipse.ui.internal.registry.IActionSetDescriptor descriptor) 
- 
getVisibleItems
- 
changepublic void change(org.eclipse.ui.internal.registry.IActionSetDescriptor descriptor, int changeType) 
 
-