blob: 06e4ef68cb4fe6816471ef6201969457289ed9fb (
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
|
/*****************************************************************************
* Copyright (c) 2013 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 (camille.letavernier@cea.fr) - Initial API and implementation
*
*****************************************************************************/
package org.eclipse.papyrus.views.properties.widgets;
import org.eclipse.swt.widgets.Composite;
/**
* A PropertyEditor for editing floats through a Text field
*
* @see org.eclipse.papyrus.infra.widgets.editors.FloatEditor
*
* @author Camille Letavernier
*/
public class FloatEditor extends AbstractPropertyEditor {
/**
* Constructor.
*
* @param parent
* The composite in which the widget will be displayed
* @param style
* The style for the widget
*/
public FloatEditor(Composite parent, int style) {
super(new org.eclipse.papyrus.infra.widgets.editors.FloatEditor(parent, style));
}
}
|