Class RefreshAction

All Implemented Interfaces:
IAction, ISelectionChangedListener

public class RefreshAction extends SelectionDispatchAction
Action for refreshing the workspace from the local file system for the selected resources and all of their descendants. This action also considers external Jars managed by the Java Model.

Action is applicable to selections containing resources and Java elements down to compilation units.

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 Details

    • RefreshAction

      public RefreshAction(IWorkbenchSite site)
      Creates a new RefreshAction. 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
  • Method Details