Class AddToClasspathAction

All Implemented Interfaces:
IAction, ISelectionChangedListener

public class AddToClasspathAction extends SelectionDispatchAction
Action to add a JAR to the classpath of its parent project. Action is applicable to selections containing archives (JAR or zip)

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

This class is not intended to be subclassed by clients.
  • Constructor Details

    • AddToClasspathAction

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