Klasse MoveResourceElementsOperation

Alle implementierten Schnittstellen:
SuffixConstants, org.eclipse.core.resources.IWorkspaceRunnable, org.eclipse.core.runtime.ICoreRunnable, org.eclipse.core.runtime.IProgressMonitor
Bekannte direkte Unterklassen:
RenameResourceElementsOperation

public class MoveResourceElementsOperation extends CopyResourceElementsOperation
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:
  • Konstruktordetails

    • MoveResourceElementsOperation

      public MoveResourceElementsOperation(IJavaElement[] elementsToMove, IJavaElement[] destContainers, boolean force)
      When executed, this operation will move the given elements to the given containers.
  • Methodendetails