@Deprecated public class DateTimeControl extends SingleControl
EStructuralFeature
s which have a date
value.CUSTOM_VARIANT, VALIDATION_ERROR_ICON, validationLabel
Constructor and Description |
---|
DateTimeControl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.databinding.Binding |
bindValue()
Deprecated.
Triggers the control to perform the databinding.
|
protected void |
fillControlComposite(org.eclipse.swt.widgets.Composite composite)
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 String |
getUnsetButtonTooltip()
Deprecated.
Returns the string for the unset button tooltip.
|
protected String |
getUnsetLabelText()
Deprecated.
Returns the string for the unset label.
|
void |
setEditable(boolean isEditable)
Deprecated.
Sets the state of the widget to be either editable or not.
|
protected void |
updateValidationColor(org.eclipse.swt.graphics.Color color)
Deprecated.
Allows controls to supply a second visual effect for controls on validation.
|
addControlDecoration, dispose, handleValidation, resetValidation, showLabel
backwardCompatibleHandleValidation, createButtonForAction, createContentControl, createControl, createControls, getCustomUnsetButton, getHelpText, getModelValue, getSystemColor, getValidationBackgroundColor, getValidationIcon, isEditable, setObservableValue, showUnsetLabel
applyValidation, enabledmentChanged, getControl, getDataBindingContext, getDomainModelReference, getEditingDomain, getEditingDomain, getFirstSetting, getFirstStructuralFeature, getItemPropertyDescriptor, getLocale, getService, getViewModelContext, init, isEmbedded, postInit, setEmbedded
protected void fillControlComposite(org.eclipse.swt.widgets.Composite composite)
SWTControl
fillControlComposite
in class SWTControl
composite
- the Composite
to add the widget topublic void setEditable(boolean isEditable)
setEditable
in class ECPAbstractControl
isEditable
- whether to set the widget editablepublic org.eclipse.core.databinding.Binding bindValue()
SWTControl
bindValue
in class SWTControl
Binding
protected String getUnsetLabelText()
SWTControl
getUnsetLabelText
in class SWTControl
protected String getUnsetButtonTooltip()
SWTControl
getUnsetButtonTooltip
in class SWTControl
protected org.eclipse.swt.widgets.Control[] getControlsForTooltip()
SWTControl
getControlsForTooltip
in class SWTControl
protected void updateValidationColor(org.eclipse.swt.graphics.Color color)
updateValidationColor
in class SingleControl
color
- the color to set, null if the default background color should be setSingleControl.updateValidationColor(org.eclipse.swt.graphics.Color)
Copyright © 2019. All rights reserved.