@Deprecated public abstract class MultiControl extends SWTControl
EStructuralFeature
s that have multiple values.CUSTOM_VARIANT, VALIDATION_ERROR_ICON, validationLabel
Constructor and Description |
---|
MultiControl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
applyValidation(VDiagnostic diagnostic)
Deprecated.
Override this method in order to handle validation.
|
org.eclipse.core.databinding.Binding |
bindValue()
Deprecated.
Triggers the control to perform the databinding.
|
void |
dispose()
Deprecated.
Disposes the control.
|
protected void |
fillControlComposite(org.eclipse.swt.widgets.Composite parent)
Deprecated.
This method must be overridden by concrete classes.
|
protected org.eclipse.swt.widgets.Control[] |
getControlsForTooltip()
Deprecated.
Method for retrieving all controls which should have the help text as their tooltip.
|
protected org.eclipse.swt.widgets.Button |
getCustomUnsetButton()
Deprecated.
The default unset button will be displayed to the right of the control's composite.
|
protected abstract int |
getTesterPriority(ECPStaticApplicableTester tester,
org.eclipse.emf.ecore.EStructuralFeature.Setting setting)
Deprecated.
Checks the priority of a tester.
|
protected abstract ECPSWTAction[] |
instantiateActions()
Deprecated.
This returns the array of actions to display in the multi control.
|
void |
setEditable(boolean isEditable)
Deprecated.
|
boolean |
showLabel()
Deprecated.
|
protected void |
updateValidationColor(org.eclipse.swt.graphics.Color color)
Deprecated.
Allows controls to supply a second visual effect for controls on validation.
|
backwardCompatibleHandleValidation, createButtonForAction, createContentControl, createControl, createControls, getHelpText, getModelValue, getSystemColor, getUnsetButtonTooltip, getUnsetLabelText, getValidationBackgroundColor, getValidationIcon, isEditable, setObservableValue, showUnsetLabel
enabledmentChanged, getControl, getDataBindingContext, getDomainModelReference, getEditingDomain, getEditingDomain, getFirstSetting, getFirstStructuralFeature, getItemPropertyDescriptor, getLocale, getService, getViewModelContext, handleValidation, init, isEmbedded, postInit, resetValidation, setEmbedded
protected abstract ECPSWTAction[] instantiateActions()
protected abstract int getTesterPriority(ECPStaticApplicableTester tester, org.eclipse.emf.ecore.EStructuralFeature.Setting setting)
tester
- the ECPStaticApplicableTester
to testsetting
- the EStructuralFeature.Setting
to useprotected void fillControlComposite(org.eclipse.swt.widgets.Composite parent)
SWTControl
fillControlComposite
in class SWTControl
parent
- the Composite
to add the widget toprotected org.eclipse.swt.widgets.Button getCustomUnsetButton()
SWTControl
getCustomUnsetButton
in class SWTControl
protected void applyValidation(VDiagnostic diagnostic)
applyValidation
in class ECPAbstractControl
diagnostic
- the current VDiagnostic
ECPAbstractControl.applyValidation(org.eclipse.emf.ecp.view.spi.model.VDiagnostic)
protected void updateValidationColor(org.eclipse.swt.graphics.Color color)
color
- the color to set, null if the default background color should be setpublic void dispose()
dispose
in class SWTControl
public org.eclipse.core.databinding.Binding bindValue()
SWTControl
bindValue
in class SWTControl
Binding
@Deprecated public void setEditable(boolean isEditable)
setEditable
in class ECPAbstractControl
isEditable
- whether to set the widget editableprotected org.eclipse.swt.widgets.Control[] getControlsForTooltip()
SWTControl
getControlsForTooltip
in class SWTControl
@Deprecated public boolean showLabel()
showLabel
in class ECPAbstractControl
Copyright © 2019. All rights reserved.