Package com.iizigo.editor
Class MoveFilesAndFoldersOperation
- java.lang.Object
- org.eclipse.ui.actions.CopyFilesAndFoldersOperation
- org.eclipse.ui.actions.MoveFilesAndFoldersOperation
- com.iizigo.editor.MoveFilesAndFoldersOperation
 
 
 
- public class MoveFilesAndFoldersOperation extends org.eclipse.ui.actions.MoveFilesAndFoldersOperationMove files and folders operation with undo support (added context support).- Author:
- Christopher Mindus
 
- Constructor Summary- Constructors - Constructor - Description - MoveFilesAndFoldersOperation(java.lang.String description, IPropUndoRedo undoRedo)The constructor.
 - Method Summary- All Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - protected org.eclipse.ui.ide.undo.AbstractWorkspaceOperation- getUndoableCopyOrMoveOperation(org.eclipse.core.resources.IResource[] resources, org.eclipse.core.runtime.IPath destinationPath)Returns an AbstractWorkspaceOperation suitable for performing the move or copy operation that will move or copy the given resources to the given destination path.- Methods inherited from class org.eclipse.ui.actions.MoveFilesAndFoldersOperation- canPerformAutoRename, copy, getDeepCheckQuestion, getOperationTitle, getProblemsMessage, getProblemsTitle, getValidateConflictSource, isMove, validateDestination
 - Methods inherited from class org.eclipse.ui.actions.CopyFilesAndFoldersOperation- copyFiles, copyFiles, copyFilesInCurrentThread, copyFilesInCurrentThread, copyOrLinkFiles, copyResources, copyResourcesInCurrentThread, createVirtualFoldersAndLinks, getFile, getFiles, getFolder, getModelProviderIds, homogenousResources, linkFiles, setCreateLinks, setModelProviderIds, setRelativeVariable, setVirtualFolders, validateImportDestination
 
 
- Constructor Detail- MoveFilesAndFoldersOperation- public MoveFilesAndFoldersOperation(java.lang.String description, IPropUndoRedo undoRedo)The constructor.- Parameters:
- description- The operation description, or null for default.
- undoRedo- The undo/redo interface.
 
 
 - Method Detail- getUndoableCopyOrMoveOperation- protected org.eclipse.ui.ide.undo.AbstractWorkspaceOperation getUndoableCopyOrMoveOperation(org.eclipse.core.resources.IResource[] resources, org.eclipse.core.runtime.IPath destinationPath)Returns an AbstractWorkspaceOperation suitable for performing the move or copy operation that will move or copy the given resources to the given destination path.- Overrides:
- getUndoableCopyOrMoveOperationin class- org.eclipse.ui.actions.MoveFilesAndFoldersOperation
- Parameters:
- resources- The resources to be moved or copied.
- destinationPath- The destination path to which the resources should be moved.
- Returns:
- The operation that should be used to perform the move or copy.