Class OpenProjectAction

  • All Implemented Interfaces:
    java.util.EventListener, IResourceChangeListener, IAction, ISelectionChangedListener

    public class OpenProjectAction
    extends SelectionDispatchAction
    implements IResourceChangeListener
    Action to open a closed project. Action either opens the closed projects provided by the structured selection or presents a dialog from which the user can select the projects to be opened.

    This class may be instantiated; it is not intended to be subclassed.

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

      • OpenProjectAction

        public OpenProjectAction​(IWorkbenchSite site)
        Creates a new OpenProjectAction. The action requires that the selection provided by the site's selection provider is of type org.eclipse.jface.viewers.IStructuredSelection.
        Parameters:
        site - the site providing context information for this action