public abstract class ValueSelectionHelper extends Object
Constructor and Description |
---|
ValueSelectionHelper() |
Modifier and Type | Method and Description |
---|---|
static Object |
openValueSelectionDialog(org.eclipse.swt.widgets.Shell shell,
org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
Opens a dialog to select a possible value for a given
EStructuralFeature . |
public static Object openValueSelectionDialog(org.eclipse.swt.widgets.Shell shell, org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
EStructuralFeature
.
If the feature is a enum or boolean, it will show suggestions, otherwise, it will accept Strings.shell
- The Shell
to open the dialog onstructuralFeature
- The EStructuralFeature
to select possible values forObject
Copyright © 2016. All rights reserved.