@Deprecated public abstract class SingleControl extends SWTControl
EStructuralFeature
s which have maximum 1
value.CUSTOM_VARIANT, VALIDATION_ERROR_ICON, validationLabel
Constructor and Description |
---|
SingleControl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addControlDecoration(org.eclipse.swt.widgets.Control control)
Deprecated.
|
void |
dispose()
Deprecated.
Disposes the control.
|
void |
handleValidation(org.eclipse.emf.common.util.Diagnostic diagnostic)
Deprecated.
|
void |
resetValidation()
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, bindValue, createButtonForAction, createContentControl, createControl, createControls, fillControlComposite, getControlsForTooltip, getCustomUnsetButton, getHelpText, getModelValue, getSystemColor, getUnsetButtonTooltip, getUnsetLabelText, getValidationBackgroundColor, getValidationIcon, isEditable, setObservableValue, showUnsetLabel
applyValidation, enabledmentChanged, getControl, getDataBindingContext, getDomainModelReference, getEditingDomain, getEditingDomain, getFirstSetting, getFirstStructuralFeature, getItemPropertyDescriptor, getLocale, getService, getViewModelContext, init, isEmbedded, postInit, setEditable, setEmbedded
@Deprecated public void handleValidation(org.eclipse.emf.common.util.Diagnostic diagnostic)
handleValidation
in class ECPAbstractControl
diagnostic
- of type Diagnosticprotected void updateValidationColor(org.eclipse.swt.graphics.Color color)
color
- the color to set, null if the default background color should be setprotected void addControlDecoration(org.eclipse.swt.widgets.Control control)
@Deprecated public void resetValidation()
resetValidation
in class ECPAbstractControl
public void dispose()
dispose
in class SWTControl
@Deprecated public boolean showLabel()
showLabel
in class ECPAbstractControl
Copyright © 2018. All rights reserved.