Class ExportResourcesAction

  • All Implemented Interfaces:
    IAction, ISelectionChangedListener, ActionFactory.IWorkbenchAction

    public class ExportResourcesAction
    extends BaseSelectionListenerAction
    implements ActionFactory.IWorkbenchAction
    Action representing a generic export operation.

    This class may be instantiated. It is not intended to be subclassed.

    This method automatically registers listeners so that it can keep its enablement state up to date. Ordinarily, the window's references to these listeners will be dropped automatically when the window closes. However, if the client needs to get rid of an action while the window is still open, the client must call IWorkbenchAction#dispose to give the action an opportunity to deregister its listeners and to perform any other cleanup.

    Note: Despite the name, an export operation can deal with things other than resources; the current name was retained for historical reasons.

    Since:
    2.0
    Restriction:
    This class is not intended to be subclassed by clients.
    • Constructor Detail

      • ExportResourcesAction

        public ExportResourcesAction​(IWorkbenchWindow window)
        Create a new instance of this class.
        Parameters:
        window - the window
      • ExportResourcesAction

        public ExportResourcesAction​(IWorkbenchWindow window,
                                     String label)
        Create a new instance of this class.
        Parameters:
        window - the window
        label - the label
      • ExportResourcesAction

        @Deprecated
        public ExportResourcesAction​(IWorkbench workbench)
        Deprecated.
        use the constructor ExportResourcesAction(IWorkbenchWindow)
        Create a new instance of this class
        Parameters:
        workbench - the workbench
      • ExportResourcesAction

        @Deprecated
        public ExportResourcesAction​(IWorkbench workbench,
                                     String label)
        Deprecated.
        use the constructor ExportResourcesAction(IWorkbenchWindow, String)
        Create a new instance of this class.
        Parameters:
        workbench - the workbench
        label - the label