Method Summary |
|
protected IProjectDescription | createDescription(IProject project, String projectName, IPath rootLocation) Create a new IProjectDescription for the copy using the name and path
selected from the dialog. |
void | displayError(String message) Opens an error dialog to display the given message. |
protected String | getErrorsTitle() Return the title of the errors dialog. |
public String[] | getModelProviderIds() Returns the model provider ids that are known to the client that
instantiated this operation. |
protected org.eclipse.ui.plugin.AbstractUIPlugin | getPlugin() |
boolean | performCopy(IProject project, String projectName, URI newLocation) Copies the project to the new values. |
protected Object[] | queryDestinationParameters(IProject project) Query for a new project name and destination using the parameters in the
existing project. |
final void | recordError(CoreException error) Records the core exception to be displayed to the user once the action is
finished. |
public void | run() Implementation of method defined on IAction . |
public void | setModelProviderIds(String[] modelProviderIds) Sets the model provider ids that are known to the client that
instantiated this operation. |
protected boolean | updateSelection(IStructuredSelection selection) The CopyResourceAction implementation of this
SelectionListenerAction method enables this action only if
there is a single selection which is a project. |