-
Notifications
You must be signed in to change notification settings - Fork 13
/
MeasurementUnitField_semanticKindGroup.java
80 lines (70 loc) · 2.3 KB
/
MeasurementUnitField_semanticKindGroup.java
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/******************************************************************************
* Copyright (c) 2006, 2020 Thales Global Services
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Thales - initial API and implementation
*****************************************************************************/
package org.polarsys.capella.vp.perfo.ui.fields;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory;
import org.polarsys.capella.core.ui.properties.fields.AbstractSemanticKindGroup;
import org.polarsys.capella.vp.perfo.perfo.measurementUnit_Type;
/**
* <!-- begin-user-doc -->
* The '<em><b>[MeasurementUnitField_semanticKindGroup]</b></em>' customized RadioboxGroup field.
* <!-- end-user-doc -->
* <p>
* </p>
*
* @generated
*/
public class MeasurementUnitField_semanticKindGroup extends AbstractSemanticKindGroup {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private Button _measurementUnit_TypeBtnMILLISECOND;
/**
* Constructor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param parent_p
* @param widgetFactory_p
* @generated
*/
public MeasurementUnitField_semanticKindGroup(Composite parent_p, TabbedPropertySheetWidgetFactory widgetFactory_p) {
super(parent_p, widgetFactory_p, "Measurement Unit", 6); //$NON-NLS-1$
_measurementUnit_TypeBtnMILLISECOND = createButton(measurementUnit_Type.MILLISECOND);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* {@inheritDoc}
* @generated
*/
@Override
public List<Button> getSemanticFields() {
List<Button> fields = new ArrayList<Button>();
fields.add(_measurementUnit_TypeBtnMILLISECOND);
return fields;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* {@inheritDoc}
* @generated
*/
@Override
public Button getDefaultSemanticField() {
return _measurementUnit_TypeBtnMILLISECOND;
}
}