X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/MoveElementsOperation.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/MoveElementsOperation.java index 60975ab..47e8106 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/MoveElementsOperation.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/MoveElementsOperation.java @@ -14,33 +14,38 @@ import net.sourceforge.phpdt.core.IJavaElement; import net.sourceforge.phpdt.internal.core.util.Util; /** - * This operation moves elements from their current - * container to a specified destination container, optionally renaming the - * elements. - * A move operation is equivalent to a copy operation, where - * the source elements are deleted after the copy. - *

This operation can be used for reorganizing elements within the same container. - * + * This operation moves elements from their current container to a specified + * destination container, optionally renaming the elements. A move operation is + * equivalent to a copy operation, where the source elements are deleted after + * the copy. + *

+ * This operation can be used for reorganizing elements within the same + * container. + * * @see CopyElementsOperation */ public class MoveElementsOperation extends CopyElementsOperation { -/** - * When executed, this operation will move the given elements to the given containers. - */ -public MoveElementsOperation(IJavaElement[] elementsToMove, IJavaElement[] destContainers, boolean force) { - super(elementsToMove, destContainers, force); -} -/** - * Returns the String to use as the main task name - * for progress monitoring. - */ -protected String getMainTaskName() { - return Util.bind("operation.moveElementProgress"); //$NON-NLS-1$ -} -/** - * @see CopyElementsOperation#isMove() - */ -protected boolean isMove() { - return true; -} + /** + * When executed, this operation will move the given elements to the given + * containers. + */ + public MoveElementsOperation(IJavaElement[] elementsToMove, + IJavaElement[] destContainers, boolean force) { + super(elementsToMove, destContainers, force); + } + + /** + * Returns the String to use as the main task name for + * progress monitoring. + */ + protected String getMainTaskName() { + return Util.bind("operation.moveElementProgress"); //$NON-NLS-1$ + } + + /** + * @see CopyElementsOperation#isMove() + */ + protected boolean isMove() { + return true; + } }