public abstract class AbstractEEFCustomWidgetController extends AbstractEEFWidgetController
Modifier and Type | Field and Description |
---|---|
protected EEFCustomWidgetDescription |
description
The description.
|
newHelpConsumer, newLabelConsumer
editingContextAdapter, interpreter, variableManager
Constructor and Description |
---|
AbstractEEFCustomWidgetController(EEFCustomWidgetDescription 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 |
---|---|
protected void |
executeCommandExpression(java.lang.String customExpressionId)
Execute a custom expression in a command.
|
protected java.util.Optional<java.lang.String> |
getCustomExpression(java.lang.String customExpressionId)
Get the custom expression with the given id.
|
protected EEFCustomWidgetDescription |
getDescription()
Returns the widget description.
|
computeHelp, getValidationRulesContainer, getValidationRulesReference, onNewHelp, onNewLabel, refresh, removeNewHelpConsumer, removeNewLabelConsumer
newEval, onValidation, removeValidationConsumer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onValidation, removeValidationConsumer
protected final EEFCustomWidgetDescription description
public AbstractEEFCustomWidgetController(EEFCustomWidgetDescription 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 adapter.protected EEFCustomWidgetDescription getDescription()
getDescription
in class AbstractEEFWidgetController
AbstractEEFWidgetController.getDescription()
protected java.util.Optional<java.lang.String> getCustomExpression(java.lang.String customExpressionId)
customExpressionId
- Identifier of the custom expressionprotected void executeCommandExpression(java.lang.String customExpressionId)
customExpressionId
- Identifier of the custom expression to execute