public class EEFCheckboxLifecycleManager extends AbstractEEFWidgetLifecycleManager
contextAdapter, help, interpreter, label, VALIDATION_MARKER_OFFSET, variableManager
container
Constructor and Description |
---|
EEFCheckboxLifecycleManager(EEFCheckboxDescription description,
org.eclipse.sirius.common.interpreter.api.IVariableManager variableManager,
org.eclipse.sirius.common.interpreter.api.IInterpreter interpreter,
EditingContextAdapter contextAdapter)
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.
|
protected IEEFWidgetController |
getController()
Returns the controller.
|
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 boolean |
needSeparatedLabel()
Indicates if the widget should create a label widget for its label.
|
void |
refresh()
Refresh the widgets.
|
createControl, dispose, getEEFStyleHelper, getLabelVerticalAlignment, getStructuredSelection, isEnabled, setLabelFontStyle
public EEFCheckboxLifecycleManager(EEFCheckboxDescription description, org.eclipse.sirius.common.interpreter.api.IVariableManager variableManager, org.eclipse.sirius.common.interpreter.api.IInterpreter interpreter, EditingContextAdapter contextAdapter)
description
- The descriptionvariableManager
- The variable managerinterpreter
- The interpretercontextAdapter
- The editing context adapterprotected void createMainControl(org.eclipse.swt.widgets.Composite parent, IEEFFormContainer formContainer)
createMainControl
in class AbstractEEFWidgetLifecycleManager
parent
- The composite parentformContainer
- The form containerAbstractEEFWidgetLifecycleManager.createMainControl(org.eclipse.swt.widgets.Composite,
org.eclipse.eef.common.ui.api.IEEFFormContainer)
protected boolean needSeparatedLabel()
needSeparatedLabel
in class AbstractEEFWidgetLifecycleManager
true
if a label should be created, false
otherwise.AbstractEEFWidgetLifecycleManager.needSeparatedLabel()
protected IEEFWidgetController getController()
getController
in class AbstractEEFWidgetLifecycleManager
AbstractEEFWidgetLifecycleManager.getController()
protected org.eclipse.swt.widgets.Control getValidationControl()
getValidationControl
in class AbstractEEFLifecycleManager
AbstractEEFLifecycleManager.getValidationControl()
protected EEFWidgetDescription getWidgetDescription()
getWidgetDescription
in class AbstractEEFWidgetLifecycleManager
org.eclipse.eef.ide.ui.internal.widgets.AbstractEEFWidgetLifecycleManager#getWidgetDescription()
public void aboutToBeShown()
aboutToBeShown
in interface IEEFLifecycleManager
aboutToBeShown
in class AbstractEEFWidgetLifecycleManager
IEEFLifecycleManager.aboutToBeShown()
public void aboutToBeHidden()
aboutToBeHidden
in interface IEEFLifecycleManager
aboutToBeHidden
in class AbstractEEFWidgetLifecycleManager
IEEFLifecycleManager.aboutToBeHidden()
public void refresh()
refresh
in interface IEEFLifecycleManager
refresh
in class AbstractEEFLifecycleManager
AbstractEEFLifecycleManager.refresh()