Class ActionSetManager

java.lang.Object
org.eclipse.ui.internal.ActionSetManager

public class ActionSetManager extends Object
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 Details

  • Constructor Details

  • Method Details

    • addListener

      public void addListener(IPropertyListener l)
    • removeListener

      public void removeListener(IPropertyListener l)
    • showAction

      public void showAction(org.eclipse.ui.internal.registry.IActionSetDescriptor descriptor)
    • hideAction

      public void hideAction(org.eclipse.ui.internal.registry.IActionSetDescriptor descriptor)
    • maskAction

      public void maskAction(org.eclipse.ui.internal.registry.IActionSetDescriptor descriptor)
    • unmaskAction

      public void unmaskAction(org.eclipse.ui.internal.registry.IActionSetDescriptor descriptor)
    • getVisibleItems

      public Collection getVisibleItems()
    • change

      public void change(org.eclipse.ui.internal.registry.IActionSetDescriptor descriptor, int changeType)