public class EEFLabelLifecycleManager extends AbstractEEFWidgetLifecycleManager
editingContextAdapter, help, interpreter, label, VALIDATION_MARKER_OFFSET, variableManagercontainer| Constructor and Description |
|---|
EEFLabelLifecycleManager(EEFLabelDescription description,
org.eclipse.sirius.common.interpreter.api.IVariableManager variableManager,
org.eclipse.sirius.common.interpreter.api.IInterpreter interpreter,
EditingContextAdapter editingContextAdapter)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
aboutToBeHidden()
Prepares for the widgets to be hidden.
|
void |
aboutToBeShown()
Prepares for the widgets to be shown.
|
protected void |
createMainControl(org.eclipse.swt.widgets.Composite parent,
IEEFFormContainer formContainer)
Create the main control.
|
void |
dispose()
Disposes the content created.
|
protected IEEFWidgetController |
getController()
Returns the controller.
|
protected int |
getLabelVerticalAlignment()
Returns the vertical alignment of the label of the widget.
|
protected org.eclipse.swt.widgets.Control |
getValidationControl()
Returns the control on which the validation marker will appear.
|
protected EEFWidgetDescription |
getWidgetDescription()
Returns the description of the widget.
|
protected void |
setEnabled(boolean isEnabled)
Sets the enablement of the widget.
|
createControl, getEEFStyleHelper, getStructuredSelection, getWidgetSemanticElement, isEnabled, lockedByMe, lockedByOther, lockedNoWrite, needSeparatedLabel, refresh, setLabelFontStyle, unlockedpublic EEFLabelLifecycleManager(EEFLabelDescription description, org.eclipse.sirius.common.interpreter.api.IVariableManager variableManager, org.eclipse.sirius.common.interpreter.api.IInterpreter interpreter, EditingContextAdapter editingContextAdapter)
description - The descriptionvariableManager - The variable managerinterpreter - The interpretereditingContextAdapter - The editing context adapterprotected void createMainControl(org.eclipse.swt.widgets.Composite parent,
IEEFFormContainer formContainer)
createMainControl in class AbstractEEFWidgetLifecycleManagerparent - The composite parentformContainer - The form containerAbstractEEFWidgetLifecycleManager.createMainControl(org.eclipse.swt.widgets.Composite,
org.eclipse.eef.common.ui.api.IEEFFormContainer)protected int getLabelVerticalAlignment()
getLabelVerticalAlignment in class AbstractEEFWidgetLifecycleManagerAbstractEEFWidgetLifecycleManager.getLabelVerticalAlignment()public void aboutToBeShown()
aboutToBeShown in interface IEEFLifecycleManageraboutToBeShown in class AbstractEEFWidgetLifecycleManagerIEEFLifecycleManager.aboutToBeShown()protected void setEnabled(boolean isEnabled)
setEnabled in class AbstractEEFWidgetLifecycleManagerisEnabled - true when the widget should have its default behavior, false when the widget
should be in a read only mode.AbstractEEFWidgetLifecycleManager.setEnabled(boolean)public void aboutToBeHidden()
aboutToBeHidden in interface IEEFLifecycleManageraboutToBeHidden in class AbstractEEFWidgetLifecycleManagerIEEFLifecycleManager.aboutToBeHidden()protected IEEFWidgetController getController()
getController in class AbstractEEFWidgetLifecycleManagerIEEFLifecycleManager.dispose()protected EEFWidgetDescription getWidgetDescription()
getWidgetDescription in class AbstractEEFWidgetLifecycleManagerAbstractEEFWidgetLifecycleManager.getController()protected org.eclipse.swt.widgets.Control getValidationControl()
getValidationControl in class AbstractEEFLifecycleManagerAbstractEEFLifecycleManager.getValidationControl()public void dispose()
dispose in interface IEEFLifecycleManagerdispose in class AbstractEEFWidgetLifecycleManagerAbstractEEFWidgetLifecycleManager.dispose()