Class PartPluginAction

All Implemented Interfaces:
EventListener, IAction, ISelectionChangedListener, INullSelectionListener, IPluginContribution, ISelectionListener
Direct Known Subclasses:
EditorPluginAction, ViewPluginAction

public class PartPluginAction extends PluginAction
This class adds to the PluginAction support by setting itself up for work within a WorkbenchPart. The main difference is that it is capable of processing local selection changes within a part.
  • Constructor Details

    • PartPluginAction

      public PartPluginAction(IConfigurationElement actionElement, String id, int style)
      PartPluginAction constructor.
  • Method Details

    • registerSelectionListener

      protected void registerSelectionListener(IWorkbenchPart aPart)
      Registers this action as a listener of the workbench part.
    • unregisterSelectionListener

      protected void unregisterSelectionListener(IWorkbenchPart aPart)
      Unregisters this action as a listener of the workbench part.