public abstract class AbstractEEFCustomWidgetController extends AbstractEEFWidgetController
Modifier and Type | Field and Description |
---|---|
protected EditingContextAdapter |
contextAdapter
The editing context adapter.
|
protected EEFCustomWidgetDescription |
description
The description.
|
newHelpConsumer, newLabelConsumer
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.lang.String |
getCustomExpression(java.lang.String customExpressionId)
Get the custom expression.
|
protected abstract EEFCustomWidgetDescription |
getDescription()
Returns the widget description.
|
getValidationRulesContainer, getValidationRulesReference, onNewHelp, onNewLabel, refresh, removeNewHelpConsumer, removeNewLabelConsumer
newEval, onValidation, removeValidationConsumer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onValidation, removeValidationConsumer
protected EEFCustomWidgetDescription description
protected EditingContextAdapter contextAdapter
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 abstract EEFCustomWidgetDescription getDescription()
getDescription
in class AbstractEEFWidgetController
AbstractEEFWidgetController.getDescription()
protected 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