@Deprecated public class LinkControl extends SingleControl
EStructuralFeatures which have a reference.CUSTOM_VARIANT, VALIDATION_ERROR_ICON, validationLabel| Constructor and Description |
|---|
LinkControl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.core.databinding.Binding |
bindValue()
Deprecated.
Triggers the control to perform the databinding.
|
protected org.eclipse.swt.widgets.Button[] |
createButtons(org.eclipse.swt.widgets.Composite composite)
Deprecated.
Creates the buttons to delete a reference, add one to an existing and add a new element to be referenced.
|
void |
dispose()
Deprecated.
Disposes the control.
|
protected void |
fillControlComposite(org.eclipse.swt.widgets.Composite composite)
Deprecated.
This method must be overridden by concrete classes.
|
org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator |
getAdapterFactoryItemDelegator()
Deprecated.
|
org.eclipse.emf.edit.provider.ComposedAdapterFactory |
getComposedAdapterFactory()
Deprecated.
|
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 |
getDeleteButton()
Deprecated.
Returns the delete button of this control.
|
protected Object |
getImage(Object value)
Deprecated.
Returns the image to be used for the given linked
value. |
protected Object |
getLinkText(Object value)
Deprecated.
Returns the link text to be used for the given linked
value. |
protected int |
getNumButtons()
Deprecated.
|
protected String |
getUnsetButtonTooltip()
Deprecated.
Returns the string for the unset button tooltip.
|
protected String |
getUnsetLabelText()
Deprecated.
Returns the string for the unset label.
|
protected void |
linkClicked(org.eclipse.emf.ecore.EObject value)
Deprecated.
This code is called whenever the link of the link widget is clicked.
|
void |
setAdapterFactoryItemDelegator(org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator adapterFactoryItemDelegator)
Deprecated.
|
void |
setComposedAdapterFactory(org.eclipse.emf.edit.provider.ComposedAdapterFactory composedAdapterFactory)
Deprecated.
|
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, handleValidation, resetValidation, showLabelbackwardCompatibleHandleValidation, createButtonForAction, createContentControl, createControl, createControls, getCustomUnsetButton, getHelpText, getModelValue, getSystemColor, getValidationBackgroundColor, getValidationIcon, isEditable, setObservableValue, showUnsetLabelapplyValidation, enabledmentChanged, getControl, getDataBindingContext, getDomainModelReference, getEditingDomain, getEditingDomain, getFirstSetting, getFirstStructuralFeature, getItemPropertyDescriptor, getLocale, getService, getViewModelContext, init, isEmbedded, postInit, setEmbeddedprotected void fillControlComposite(org.eclipse.swt.widgets.Composite composite)
SWTControlfillControlComposite in class SWTControlcomposite - the Composite to add the widget toprotected int getNumButtons()
protected org.eclipse.swt.widgets.Button[] createButtons(org.eclipse.swt.widgets.Composite composite)
composite - the Composite to place the buttons onprotected void linkClicked(org.eclipse.emf.ecore.EObject value)
value - the EObject that is linkedpublic void setEditable(boolean isEditable)
setEditable in class ECPAbstractControlisEditable - whether to set the widget editablepublic org.eclipse.core.databinding.Binding bindValue()
SWTControlbindValue in class SWTControlBindingprotected Object getImage(Object value)
value.value - the valueprotected Object getLinkText(Object value)
value.value - the valueprotected org.eclipse.swt.widgets.Button getDeleteButton()
protected void updateValidationColor(org.eclipse.swt.graphics.Color color)
updateValidationColor in class SingleControlcolor - the color to set, null if the default background color should be setSingleControl.updateValidationColor(org.eclipse.swt.graphics.Color)public void dispose()
SingleControldispose in class SingleControlprotected String getUnsetLabelText()
SWTControlgetUnsetLabelText in class SWTControlprotected String getUnsetButtonTooltip()
SWTControlgetUnsetButtonTooltip in class SWTControlprotected org.eclipse.swt.widgets.Control[] getControlsForTooltip()
SWTControlgetControlsForTooltip in class SWTControlpublic org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator getAdapterFactoryItemDelegator()
public void setAdapterFactoryItemDelegator(org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator adapterFactoryItemDelegator)
adapterFactoryItemDelegator - the adapterFactoryItemDelegator to setpublic org.eclipse.emf.edit.provider.ComposedAdapterFactory getComposedAdapterFactory()
public void setComposedAdapterFactory(org.eclipse.emf.edit.provider.ComposedAdapterFactory composedAdapterFactory)
composedAdapterFactory - the composedAdapterFactory to setCopyright © 2016. All rights reserved.