@Deprecated public class XmlDateControlText extends AbstractTextControl
XMLGregorianCalendar
. This control only
displays a date widget.AbstractTextControl.ModelToTargetUpdateStrategy, AbstractTextControl.TargetToModelUpdateStrategy
CUSTOM_VARIANT, VALIDATION_ERROR_ICON, validationLabel
Constructor and Description |
---|
XmlDateControlText()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.databinding.Binding |
bindValue()
Deprecated.
Triggers the control to perform the databinding.
|
protected void |
customizeText(org.eclipse.swt.widgets.Text text)
Deprecated.
This method allows to set custom values to the text field, e.g.
|
protected void |
fillControlComposite(org.eclipse.swt.widgets.Composite composite)
Deprecated.
This method must be overridden by concrete classes.
|
protected String |
getTextVariantID()
Deprecated.
The VariantId to use e.g.
|
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 editable)
Deprecated.
Sets the state of the widget to be either editable or not.
|
protected DateFormat |
setupFormat()
Deprecated.
Sets up a
DateFormat for the current Locale . |
createToolTip, createTooltipBinding, dispose, getControlsForTooltip, getText, getTextWidgetLayoutData, getTextWidgetStyle, setUnvalidatedString, updateValidationColor
addControlDecoration, 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 String getTextVariantID()
AbstractTextControl
getTextVariantID
in class AbstractTextControl
protected String getUnsetLabelText()
SWTControl
getUnsetLabelText
in class SWTControl
protected String getUnsetButtonTooltip()
SWTControl
getUnsetButtonTooltip
in class SWTControl
protected void customizeText(org.eclipse.swt.widgets.Text text)
AbstractTextControl
customizeText
in class AbstractTextControl
text
- the text widget to customizepublic void setEditable(boolean editable)
AbstractTextControl
setEditable
in class AbstractTextControl
editable
- whether to set the widget editableprotected void fillControlComposite(org.eclipse.swt.widgets.Composite composite)
SWTControl
fillControlComposite
in class AbstractTextControl
composite
- the Composite
to add the widget topublic org.eclipse.core.databinding.Binding bindValue()
SWTControl
bindValue
in class AbstractTextControl
Binding
protected DateFormat setupFormat()
DateFormat
for the current Locale
.Copyright © 2019. All rights reserved.