public class FeatureEditorDialog
extends Dialog
Modifier and Type | Field and Description |
---|---|
protected java.util.List<?> |
choiceOfValues |
protected IContentProvider |
contentProvider |
protected java.lang.String |
displayName |
protected EClassifier |
eClassifier |
protected ILabelProvider |
labelProvider |
protected boolean |
multiLine |
protected java.lang.Object |
object |
protected EList<?> |
result |
protected boolean |
unique |
protected ItemProvider |
values |
Constructor and Description |
---|
FeatureEditorDialog(Shell parent,
ILabelProvider labelProvider,
EObject eObject,
EStructuralFeature eStructuralFeature,
java.lang.String displayName,
java.util.List<?> choiceOfValues) |
FeatureEditorDialog(Shell parent,
ILabelProvider labelProvider,
java.lang.Object object,
EClassifier eClassifier,
java.util.List<?> currentValues,
java.lang.String displayName,
java.util.List<?> choiceOfValues)
Deprecated.
Use
FeatureEditorDialog(Shell, ILabelProvider, Object, EClassifier, List, String, List, boolean, boolean, boolean) ,
which provides proper behaviour for unique and non-unique features. This form retains the old behaviour, where
specifying a list of choices enforces uniqueness. |
FeatureEditorDialog(Shell parent,
ILabelProvider labelProvider,
java.lang.Object object,
EClassifier eClassifier,
java.util.List<?> currentValues,
java.lang.String displayName,
java.util.List<?> choiceOfValues,
boolean multiLine,
boolean sortChoices)
Deprecated.
Use
FeatureEditorDialog(Shell, ILabelProvider, Object, EClassifier, List, String, List, boolean, boolean, boolean) ,
which provides proper behaviour for unique and non-unique features. This form retains the old behaviour, where
specifying a list of choices enforces uniqueness. |
FeatureEditorDialog(Shell parent,
ILabelProvider labelProvider,
java.lang.Object object,
EClassifier eClassifier,
java.util.List<?> currentValues,
java.lang.String displayName,
java.util.List<?> choiceOfValues,
boolean multiLine,
boolean sortChoices,
boolean unique) |
Modifier and Type | Method and Description |
---|---|
boolean |
close() |
protected void |
configureShell(Shell shell) |
protected Control |
createDialogArea(Composite parent) |
EList<?> |
getResult() |
protected void |
okPressed() |
protected ILabelProvider labelProvider
protected IContentProvider contentProvider
protected java.lang.Object object
protected EClassifier eClassifier
protected java.lang.String displayName
protected ItemProvider values
protected java.util.List<?> choiceOfValues
protected EList<?> result
protected boolean multiLine
protected boolean unique
public FeatureEditorDialog(Shell parent, ILabelProvider labelProvider, java.lang.Object object, EClassifier eClassifier, java.util.List<?> currentValues, java.lang.String displayName, java.util.List<?> choiceOfValues, boolean multiLine, boolean sortChoices, boolean unique)
@Deprecated public FeatureEditorDialog(Shell parent, ILabelProvider labelProvider, java.lang.Object object, EClassifier eClassifier, java.util.List<?> currentValues, java.lang.String displayName, java.util.List<?> choiceOfValues, boolean multiLine, boolean sortChoices)
FeatureEditorDialog(Shell, ILabelProvider, Object, EClassifier, List, String, List, boolean, boolean, boolean)
,
which provides proper behaviour for unique and non-unique features. This form retains the old behaviour, where
specifying a list of choices enforces uniqueness.@Deprecated public FeatureEditorDialog(Shell parent, ILabelProvider labelProvider, java.lang.Object object, EClassifier eClassifier, java.util.List<?> currentValues, java.lang.String displayName, java.util.List<?> choiceOfValues)
FeatureEditorDialog(Shell, ILabelProvider, Object, EClassifier, List, String, List, boolean, boolean, boolean)
,
which provides proper behaviour for unique and non-unique features. This form retains the old behaviour, where
specifying a list of choices enforces uniqueness.public FeatureEditorDialog(Shell parent, ILabelProvider labelProvider, EObject eObject, EStructuralFeature eStructuralFeature, java.lang.String displayName, java.util.List<?> choiceOfValues)
protected void configureShell(Shell shell)
protected Control createDialogArea(Composite parent)
protected void okPressed()
public boolean close()
public EList<?> getResult()