@Deprecated public class StringControl extends AbstractTextControl
AbstractTextControl.ModelToTargetUpdateStrategy, AbstractTextControl.TargetToModelUpdateStrategy
CUSTOM_VARIANT, VALIDATION_ERROR_ICON, validationLabel
Constructor and Description |
---|
StringControl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
customizeText(org.eclipse.swt.widgets.Text text)
Deprecated.
This method allows to set custom values to the text field, e.g.
|
protected String |
getTextVariantID()
Deprecated.
The VariantId to use e.g.
|
protected org.eclipse.swt.layout.GridData |
getTextWidgetLayoutData()
Deprecated.
The LayoutData for the created
Text widget. |
protected int |
getTextWidgetStyle()
Deprecated.
The style to apply to the text widget.
|
protected String |
getUnsetButtonTooltip()
Deprecated.
Returns the string for the unset button tooltip.
|
protected String |
getUnsetLabelText()
Deprecated.
Returns the string for the unset label.
|
bindValue, createToolTip, createTooltipBinding, dispose, fillControlComposite, getControlsForTooltip, getText, setEditable, 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 org.eclipse.swt.layout.GridData getTextWidgetLayoutData()
Text
widget. Can be changed by the concrete classes.getTextWidgetLayoutData
in class AbstractTextControl
GridData
to applyprotected int getTextWidgetStyle()
getTextWidgetStyle
in class AbstractTextControl
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 customizeCopyright © 2018. All rights reserved.