| org.eclipse.ui.ide.undo.AbstractWorkspaceOperation org.eclipse.ui.ide.undo.AbstractResourcesOperation org.eclipse.ui.ide.undo.AbstractCopyOrMoveResourcesOperation org.eclipse.ui.ide.undo.CopyProjectOperation
CopyProjectOperation | public class CopyProjectOperation extends AbstractCopyOrMoveResourcesOperation (Code) | | A CopyProjectOperation represents an undoable operation for copying a
project, also specifying the location of its contents. Clients may call the
public API from a background thread.
This class is intended to be instantiated and used by clients. It is not
intended to be subclassed by clients.
since: 3.3 |
Constructor Summary | |
public | CopyProjectOperation(IProject project, String name, URI location, String label) Create a CopyProjectOperation that copies the specified project and sets
its location to the specified location. |
CopyProjectOperation | public CopyProjectOperation(IProject project, String name, URI location, String label)(Code) | | Create a CopyProjectOperation that copies the specified project and sets
its location to the specified location.
Parameters: project - the project to be copied Parameters: name - the name of the copy Parameters: location - the location for the project's content, or null if the default project location should be used. Parameters: label - the label of the operation |
computeMoveOrCopyStatus | protected IStatus computeMoveOrCopyStatus()(Code) | | |
computeUndoableStatus | public IStatus computeUndoableStatus(IProgressMonitor monitor)(Code) | | |
copyProject | IProject copyProject(IProject project, IPath destinationPath, URI locationURI, IProgressMonitor monitor) throws CoreException(Code) | | |
doExecute | protected void doExecute(IProgressMonitor monitor, IAdaptable uiInfo) throws CoreException(Code) | | |
doUndo | protected void doUndo(IProgressMonitor monitor, IAdaptable uiInfo) throws CoreException(Code) | | |
getProposedName | protected String getProposedName(IResource resource, int index)(Code) | | |
isDestinationPathValid | protected boolean isDestinationPathValid(IResource resource, int index)(Code) | | |
updateResourceChangeDescriptionFactory | protected boolean updateResourceChangeDescriptionFactory(IResourceChangeDescriptionFactory factory, int operation)(Code) | | |
Fields inherited from org.eclipse.ui.ide.undo.AbstractCopyOrMoveResourcesOperation | protected IPath destination(Code)(Java Doc) protected IPath[] destinationPaths(Code)(Java Doc)
|
|
|