Class PluginActionSet

java.lang.Object
org.eclipse.ui.internal.PluginActionSet
All Implemented Interfaces:
org.eclipse.ui.internal.registry.IActionSet

public class PluginActionSet extends Object implements org.eclipse.ui.internal.registry.IActionSet
A PluginActionSet is a proxy for an action set defined in XML. It creates a PluginAction for each action and does the required cleanup on dispose.
  • Constructor Details

    • PluginActionSet

      public PluginActionSet(org.eclipse.ui.internal.registry.ActionSetDescriptor desc)
      PluginActionSet constructor comment.
      Parameters:
      desc - the descriptor
  • Method Details

    • addPluginAction

      public void addPluginAction(WWinPluginAction action)
      Adds one plugin action ref to the list.
      Parameters:
      action - the action
    • getPluginActions

      public IAction[] getPluginActions()
      Returns the list of plugin actions for the set.
      Returns:
      the actions for the set
    • dispose

      public void dispose()
      Disposes of this action set.
      Specified by:
      dispose in interface org.eclipse.ui.internal.registry.IActionSet
    • getConfigElement

      public IConfigurationElement getConfigElement()
      Returns the configuration element.
      Returns:
      the configuration element
    • getDesc

      public org.eclipse.ui.internal.registry.ActionSetDescriptor getDesc()
      Returns the underlying descriptor.
      Returns:
      the descriptor
    • init

      public void init(IWorkbenchWindow window, IActionBars bars)
      Initializes this action set, which is expected to add it actions as required to the given workbench window and action bars.
      Specified by:
      init in interface org.eclipse.ui.internal.registry.IActionSet
      Parameters:
      window - the workbench window
      bars - the action bars
    • setBuilder

      public void setBuilder(IDisposable builder)
    • toString

      public String toString()
      Overrides:
      toString in class Object