~ubuntu-branches/debian/sid/eclipse-cdt/sid

« back to all changes in this revision

Viewing changes to results/plugins/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/MoveElementsOperation.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2011-10-06 21:15:04 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20111006211504-8dutmljjih0zikfv
Tags: 8.0.1-1
* New upstream release.
* Split the JNI packages into a separate architecture dependent
  package and made eclipse-cdt architecture independent.
* Install JNI libraries into multiarch aware location
* Bumped Standards-Version to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
7
 
 *
8
 
 * Contributors:
9
 
 *     QNX Software Systems - Initial API and implementation
10
 
 *     Anton Leherbauer (Wind River Systems)
11
 
 *******************************************************************************/
12
 
 
13
 
package org.eclipse.cdt.internal.core.model;
14
 
 
15
 
import org.eclipse.cdt.core.model.ICElement;
16
 
 
17
 
/**
18
 
 * MoveElementsOperation
19
 
 */
20
 
public class MoveElementsOperation extends CopyElementsOperation {
21
 
        /**
22
 
         * When executed, this operation will move the given elements to the given containers.
23
 
         */
24
 
        public MoveElementsOperation(ICElement[] elementsToMove, ICElement[] destContainers, boolean force) {
25
 
                super(elementsToMove, destContainers, force);
26
 
        }
27
 
        /**
28
 
         * Returns the <code>String</code> to use as the main task name
29
 
         * for progress monitoring.
30
 
         */
31
 
        @Override
32
 
        protected String getMainTaskName() {
33
 
                return CoreModelMessages.getString("operation.moveElementProgress"); //$NON-NLS-1$
34
 
        }
35
 
        /**
36
 
         * @see CopyElementsOperation#isMove()
37
 
         */
38
 
        @Override
39
 
        protected boolean isMove() {
40
 
                return true;
41
 
        }
42
 
 
43
 
}