Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 646f61df06a043bae9b2119d5b25809d5d57a3ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*****************************************************************************
 * Copyright (c) 2014 CEA LIST.
 *
 *
 * 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:
 *  Céline Janssens (ALL4TEC) celine.janssens@all4tec.net - Initial API and implementation
 *
 *****************************************************************************/
package org.eclipse.papyrus.infra.gmfdiag.common.selection;

import org.eclipse.gef.DragTracker;


/**
 * This DragTracker extends the PapyrusRubberbandSelectionTool.
 * This class is called by the method getDragTracker() in the PapyrusDiagramEditPart.
 *
 * @author cjanssens
 */
public class PapyrusRubberbandDragTracker extends PapyrusRubberbandSelectionTool implements DragTracker {


	/**
	 * Constructor.
	 */
	public PapyrusRubberbandDragTracker() {
		super();
		setMarqueeBehavior(BEHAVIOR_OBJECT_INCLUDED);
	}

	/*
	 * (non-Javadoc)
	 *
	 * @see org.eclipse.gef.tools.AbstractTool#handleFinished()
	 */
	@Override
	protected void handleFinished() {
		// nothing goes here

	}

}

Back to the top