Class EClassifierOnlyEDataTypeControl
- java.lang.Object
-
- org.eclipse.emf.ecp.edit.spi.ECPAbstractControl
-
- org.eclipse.emf.ecp.edit.internal.swt.util.SWTControl
-
- org.eclipse.emf.ecp.edit.internal.swt.controls.SingleControl
-
- org.eclipse.emf.ecp.edit.internal.swt.reference.LinkControl
-
- org.eclipse.emf.ecp.edit.ecore.swt.internal.EClassifierControl
-
- org.eclipse.emf.ecp.edit.ecore.swt.internal.EClassifierOnlyEDataTypeControl
-
- All Implemented Interfaces:
ECPControlSWT
public class EClassifierOnlyEDataTypeControl extends EClassifierControl
This is a control forEClassifier
s which will offer the possibility to selectEDataType
s. Will be used for editing the type of anEAttribute
.- Author:
- jfaltermeier
-
-
Field Summary
-
Fields inherited from class org.eclipse.emf.ecp.edit.internal.swt.util.SWTControl
CUSTOM_VARIANT, VALIDATION_ERROR_ICON, validationLabel
-
-
Constructor Summary
Constructors Constructor Description EClassifierOnlyEDataTypeControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.swt.widgets.Button[]
createButtons(org.eclipse.swt.widgets.Composite composite)
Creates the buttons to delete a reference, add one to an existing and add a new element to be referenced.-
Methods inherited from class org.eclipse.emf.ecp.edit.ecore.swt.internal.EClassifierControl
getVisiblePackages
-
Methods inherited from class org.eclipse.emf.ecp.edit.internal.swt.reference.LinkControl
bindValue, dispose, fillControlComposite, getAdapterFactoryItemDelegator, getComposedAdapterFactory, getControlsForTooltip, getDeleteButton, getImage, getLinkText, getNumButtons, getUnsetButtonTooltip, getUnsetLabelText, linkClicked, setAdapterFactoryItemDelegator, setComposedAdapterFactory, setEditable, updateValidationColor
-
Methods inherited from class org.eclipse.emf.ecp.edit.internal.swt.controls.SingleControl
addControlDecoration, handleValidation, resetValidation, showLabel
-
Methods inherited from class org.eclipse.emf.ecp.edit.internal.swt.util.SWTControl
backwardCompatibleHandleValidation, createButtonForAction, createContentControl, createControl, createControls, getCustomUnsetButton, getHelpText, getModelValue, getSystemColor, getValidationBackgroundColor, getValidationIcon, isEditable, setObservableValue, showUnsetLabel
-
Methods inherited from class org.eclipse.emf.ecp.edit.spi.ECPAbstractControl
applyValidation, enabledmentChanged, getControl, getDataBindingContext, getDomainModelReference, getEditingDomain, getEditingDomain, getFirstSetting, getFirstStructuralFeature, getItemPropertyDescriptor, getLocale, getService, getViewModelContext, init, isEmbedded, postInit, setEmbedded
-
-
-
-
Method Detail
-
createButtons
protected org.eclipse.swt.widgets.Button[] createButtons(org.eclipse.swt.widgets.Composite composite)
Creates the buttons to delete a reference, add one to an existing and add a new element to be referenced.- Overrides:
createButtons
in classEClassifierControl
- Parameters:
composite
- theComposite
to place the buttons on- Returns:
- An array of buttons
- See Also:
LinkControl.createButtons(org.eclipse.swt.widgets.Composite)
-
-