1
/*******************************************************************************
2
* Copyright (c) 2002, 2008 QNX Software Systems and others.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* QNX Software Systems - Initial API and implementation
10
* Anton Leherbauer (Wind River Systems)
11
*******************************************************************************/
13
package org.eclipse.cdt.internal.core.model;
15
import org.eclipse.cdt.core.model.ICElement;
18
* MoveElementsOperation
20
public class MoveElementsOperation extends CopyElementsOperation {
22
* When executed, this operation will move the given elements to the given containers.
24
public MoveElementsOperation(ICElement[] elementsToMove, ICElement[] destContainers, boolean force) {
25
super(elementsToMove, destContainers, force);
28
* Returns the <code>String</code> to use as the main task name
29
* for progress monitoring.
32
protected String getMainTaskName() {
33
return CoreModelMessages.getString("operation.moveElementProgress"); //$NON-NLS-1$
36
* @see CopyElementsOperation#isMove()
39
protected boolean isMove() {