Class AttributeMultiControl
- java.lang.Object
-
- org.eclipse.emf.ecp.edit.spi.ECPAbstractControl
-
- org.eclipse.emf.ecp.edit.internal.swt.util.SWTControl
-
- org.eclipse.emf.ecp.edit.internal.swt.controls.MultiControl
-
- org.eclipse.emf.ecp.edit.internal.swt.controls.AttributeMultiControl
-
- All Implemented Interfaces:
ECPControlSWT
@Deprecated public class AttributeMultiControl extends MultiControl
Deprecated.use MultiAttributeSWTRenderer insteadThis class defines a Control which is used for displayingEStructuralFeature
s which have a multi attribute.- Author:
- Eugen Neufeld
-
-
Field Summary
-
Fields inherited from class org.eclipse.emf.ecp.edit.internal.swt.util.SWTControl
CUSTOM_VARIANT, VALIDATION_ERROR_ICON, validationLabel
-
-
Constructor Summary
Constructors Constructor Description AttributeMultiControl()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected int
getTesterPriority(ECPStaticApplicableTester tester, org.eclipse.emf.ecore.EStructuralFeature.Setting setting)
Deprecated.Checks the priority of a tester.protected java.lang.String
getUnsetButtonTooltip()
Deprecated.Returns the string for the unset button tooltip.protected java.lang.String
getUnsetLabelText()
Deprecated.Returns the string for the unset label.protected ECPSWTAction[]
instantiateActions()
Deprecated.This returns the array of actions to display in the multi control.-
Methods inherited from class org.eclipse.emf.ecp.edit.internal.swt.controls.MultiControl
applyValidation, bindValue, dispose, fillControlComposite, getControlsForTooltip, getCustomUnsetButton, setEditable, showLabel, updateValidationColor
-
Methods inherited from class org.eclipse.emf.ecp.edit.internal.swt.util.SWTControl
backwardCompatibleHandleValidation, createButtonForAction, createContentControl, createControl, createControls, getHelpText, getModelValue, getSystemColor, getValidationBackgroundColor, getValidationIcon, isEditable, setObservableValue, showUnsetLabel
-
Methods inherited from class org.eclipse.emf.ecp.edit.spi.ECPAbstractControl
enabledmentChanged, getControl, getDataBindingContext, getDomainModelReference, getEditingDomain, getEditingDomain, getFirstSetting, getFirstStructuralFeature, getItemPropertyDescriptor, getLocale, getService, getViewModelContext, handleValidation, init, isEmbedded, postInit, resetValidation, setEmbedded
-
-
-
-
Method Detail
-
instantiateActions
protected ECPSWTAction[] instantiateActions()
Deprecated.Description copied from class:MultiControl
This returns the array of actions to display in the multi control.- Specified by:
instantiateActions
in classMultiControl
- Returns:
- the array of action to add
-
getTesterPriority
protected int getTesterPriority(ECPStaticApplicableTester tester, org.eclipse.emf.ecore.EStructuralFeature.Setting setting)
Deprecated.Description copied from class:MultiControl
Checks the priority of a tester.- Specified by:
getTesterPriority
in classMultiControl
- Parameters:
tester
- theECPStaticApplicableTester
to testsetting
- theEStructuralFeature.Setting
to use- Returns:
- the priority
-
getUnsetLabelText
protected java.lang.String getUnsetLabelText()
Deprecated.Description copied from class:SWTControl
Returns the string for the unset label.- Specified by:
getUnsetLabelText
in classSWTControl
- Returns:
- The unset label text
-
getUnsetButtonTooltip
protected java.lang.String getUnsetButtonTooltip()
Deprecated.Description copied from class:SWTControl
Returns the string for the unset button tooltip.- Specified by:
getUnsetButtonTooltip
in classSWTControl
- Returns:
- The unset button tooltip
-
-