Klasse MoveResourceElementsOperation
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.JavaModelOperation
org.aspectj.org.eclipse.jdt.internal.core.MultiOperation
org.aspectj.org.eclipse.jdt.internal.core.CopyResourceElementsOperation
org.aspectj.org.eclipse.jdt.internal.core.MoveResourceElementsOperation
- Alle implementierten Schnittstellen:
SuffixConstants,org.eclipse.core.resources.IWorkspaceRunnable,org.eclipse.core.runtime.ICoreRunnable,org.eclipse.core.runtime.IProgressMonitor
- Bekannte direkte Unterklassen:
RenameResourceElementsOperation
This operation moves resources (package fragments and compilation units) from their current
container to a specified destination container, optionally renaming the
elements.
A move resource operation is equivalent to a copy resource operation, where
the source resources are deleted after the copy.
This operation can be used for reorganizing resources within the same container.
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.aspectj.org.eclipse.jdt.internal.core.JavaModelOperation
JavaModelOperation.IPostAction -
Feldübersicht
Von Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.core.CopyResourceElementsOperation
createdElements, deltasPerProject, parserVon Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.core.MultiOperation
insertBeforeElements, newParents, renamings, renamingsListVon Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.core.JavaModelOperation
actions, actionsEnd, actionsStart, APPEND, attributes, elementsToProcess, force, HAS_MODIFIED_RESOURCE_ATTR, isNested, KEEP_EXISTING, NO_ELEMENTS, OPERATION_STACKS, parentElements, POST_ACTION_VERBOSE, progressMonitor, REMOVEALL_APPEND, resultElements, TRUEVon Schnittstelle geerbte Felder org.eclipse.core.runtime.IProgressMonitor
UNKNOWNVon Schnittstelle geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.util.SuffixConstants
EXTENSION_aj, EXTENSION_AJ, EXTENSION_class, EXTENSION_CLASS, EXTENSION_java, EXTENSION_JAVA, EXTENSION_jmod, EXTENSION_JMOD, SUFFIX_aj, SUFFIX_AJ, SUFFIX_class, SUFFIX_CLASS, SUFFIX_java, SUFFIX_JAVA, SUFFIX_STRING_aj, SUFFIX_STRING_AJ, SUFFIX_STRING_class, SUFFIX_STRING_CLASS, SUFFIX_STRING_java, SUFFIX_STRING_JAVA -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungMoveResourceElementsOperation(IJavaElement[] elementsToMove, IJavaElement[] destContainers, boolean force) When executed, this operation will move the given elements to the given containers. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected StringReturns the name to be used by the progress monitor.protected booleanisMove()Returnstrueif this operation represents a move or rename,falseif this operation represents a copy.
Note: a rename is just a move within the same parent with a name change.Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.core.CopyResourceElementsOperation
getSchedulingRule, prepareDeltas, processDeltas, processElement, processElements, verify, verifyVon Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.core.MultiOperation
error, executeOperation, getDestinationParent, getNewNameFor, isRename, setInsertBefore, setRenamings, verifyDestination, verifyRenaming, verifySiblingVon Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.core.JavaModelOperation
addAction, addDelta, addReconcileDelta, applyTextEdit, beginTask, canModifyRoots, checkCanceled, commonVerify, copyResources, createFile, createFolder, deleteEmptyPackageFragment, deleteResource, deleteResources, done, equalsOneOf, executeNestedOperation, firstActionWithID, getAttribute, getCompilationUnitFor, getCurrentOperationStack, getDocument, getElementToProcess, getJavaModel, getLatestASTLevel, getNestedFolders, getParentElement, getParentElements, getResultElements, getSubProgressMonitor, hasModifiedResource, internalWorked, isCanceled, isReadOnly, isTopLevelOperation, moveResources, newJavaElementDelta, popOperation, postAction, prefixesOneOf, pushOperation, removeAllPostAction, removeReconcileDelta, run, runOperation, runPostActions, setAttribute, setCanceled, setNested, setTaskName, subTask, workedVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.eclipse.core.runtime.IProgressMonitor
clearBlocked, setBlocked, slice
-
Konstruktordetails
-
MoveResourceElementsOperation
public MoveResourceElementsOperation(IJavaElement[] elementsToMove, IJavaElement[] destContainers, boolean force) When executed, this operation will move the given elements to the given containers.
-
-
Methodendetails
-
getMainTaskName
Beschreibung aus Klasse kopiert:MultiOperationReturns the name to be used by the progress monitor.- Setzt außer Kraft:
getMainTaskNamein KlasseCopyResourceElementsOperation- Siehe auch:
-
isMove
protected boolean isMove()Beschreibung aus Klasse kopiert:MultiOperationReturnstrueif this operation represents a move or rename,falseif this operation represents a copy.
Note: a rename is just a move within the same parent with a name change.- Setzt außer Kraft:
isMovein KlasseMultiOperation- Siehe auch:
-