Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 853e49cf97a2675b22436e162c9d7603bc2a5209 (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
48
49
50
51
52
53
/*****************************************************************************
 * Copyright (c) 2010 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:
 *  Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
 *****************************************************************************/
package org.eclipse.papyrus.infra.widgets.editors;

import org.eclipse.swt.widgets.Composite;

/**
 * An editor representing an Enumeration as a Combo
 * This Editor needs a ContentProvider describing the Enumerated values,
 * and an optional label provider
 *
 * @author Camille Letavernier
 */
public class EnumCombo extends ReferenceCombo {

	/**
	 *
	 * Constructs an editor for an Enumeration. The widget is a CCombo.
	 *
	 * @param parent
	 *            The composite is which this editor is created
	 * @param style
	 *            The CCombo's style
	 */
	public EnumCombo(Composite parent, int style) {
		super(parent, style);
	}

	/**
	 *
	 * Constructs an editor for an Enumeration. The widget is a CCombo.
	 *
	 * @param parent
	 *            The composite is which this editor is created
	 * @param style
	 *            The CCombo's style
	 * @param label
	 *            The editor's label
	 */
	public EnumCombo(Composite parent, int style, String label) {
		super(parent, style, label);
	}

}

Back to the top