| /******************************************************************************* |
| * Copyright (c) 2000, 2010 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.gef.tools; |
| |
| import org.eclipse.gef.EditPart; |
| |
| /** |
| * Specializes selection to do nothing, the native Tree provides selection for |
| * free. |
| * |
| * @author hudsonr |
| */ |
| public class DragTreeItemsTracker extends SelectEditPartTracker { |
| |
| /** |
| * Constructs a new DragTreeItemsTracker. |
| * |
| * @param sourceEditPart |
| * the source edit part |
| */ |
| public DragTreeItemsTracker(EditPart sourceEditPart) { |
| super(sourceEditPart); |
| } |
| |
| /** |
| * @see org.eclipse.gef.tools.AbstractTool#getDebugName() |
| */ |
| protected String getDebugName() { |
| return "Tree Tracker: " + getCommandName();//$NON-NLS-1$ |
| } |
| |
| /** |
| * Does nothing. The native tree provides selection for free. |
| * |
| * @see org.eclipse.gef.tools.SelectEditPartTracker#performSelection() |
| */ |
| protected void performSelection() { |
| } |
| |
| } |