Project

General

Profile

Download (1.35 KB) Statistics
| Branch: | Tag: | Revision:
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2010 IBM Corporation 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
 *     IBM Corporation - initial API and implementation
10
 *******************************************************************************/
11
package org.eclipse.gef.palette;
12

    
13
import org.eclipse.gef.tools.PanningSelectionTool;
14

    
15
/**
16
 * A ToolEntry for a {@link PanningSelectionTool}.
17
 * 
18
 * @author msorens
19
 * @since 3.0
20
 */
21
public class PanningSelectionToolEntry extends SelectionToolEntry {
22

    
23
	/**
24
	 * Creates a new PanningSelectionToolEntry.
25
	 */
26
	public PanningSelectionToolEntry() {
27
		this(null);
28
	}
29

    
30
	/**
31
	 * Constructor for PanningSelectionToolEntry.
32
	 * 
33
	 * @param label
34
	 *            the label
35
	 */
36
	public PanningSelectionToolEntry(String label) {
37
		this(label, null);
38
	}
39

    
40
	/**
41
	 * Constructor for PanningSelectionToolEntry.
42
	 * 
43
	 * @param label
44
	 *            the label
45
	 * @param shortDesc
46
	 *            the description
47
	 */
48
	public PanningSelectionToolEntry(String label, String shortDesc) {
49
		super(label, shortDesc);
50
		setToolClass(PanningSelectionTool.class);
51
	}
52

    
53
}
(15-15/18)