public class EEFListController extends AbstractEEFOnClickController implements IEEFListController
newHelpConsumer, newLabelConsumereditingContextAdapter, interpreter, variableManager| Constructor and Description |
|---|
EEFListController(org.eclipse.sirius.common.interpreter.api.IVariableManager variableManager,
org.eclipse.sirius.common.interpreter.api.IInterpreter interpreter,
EEFListDescription description,
EditingContextAdapter editingContextAdapter)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.core.runtime.IStatus |
action(EEFWidgetAction action,
java.util.List<java.lang.Object> elements)
Invoked when the user clicks on an action button.
|
protected EEFWidgetDescription |
getDescription()
Returns the widget description.
|
protected java.lang.String |
getOnClickExpression()
Returns the on click expression.
|
void |
onNewValue(java.util.function.Consumer<java.lang.Object> consumer)
Register a consumer which will be called with the new value of the text when it will change.
|
void |
refresh()
Refresh the controller.
|
void |
removeNewValueConsumer()
Remove the consumer of the new value of the text.
|
onClickcomputeHelp, getValidationRulesContainer, getValidationRulesReference, onNewHelp, onNewLabel, removeNewHelpConsumer, removeNewLabelConsumernewEval, onValidation, removeValidationConsumerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonClickcomputeHelp, onNewHelp, onNewLabel, removeNewHelpConsumer, removeNewLabelConsumeronValidation, removeValidationConsumerpublic EEFListController(org.eclipse.sirius.common.interpreter.api.IVariableManager variableManager,
org.eclipse.sirius.common.interpreter.api.IInterpreter interpreter,
EEFListDescription description,
EditingContextAdapter editingContextAdapter)
description - The descriptionvariableManager - The variable managerinterpreter - The interpretereditingContextAdapter - The editing context adapterpublic void refresh()
refresh in interface IEEFControllerrefresh in class AbstractEEFWidgetControllerorg.eclipse.eef.core.internal.controllers.AbstractEEFCustomWidgetController#refresh()public void onNewValue(java.util.function.Consumer<java.lang.Object> consumer)
onNewValue in interface IEEFListControllerconsumer - The consumer of the new value of the textorg.eclipse.eef.core.api.controllers.IEEFListController#onNewValue(org.eclipse.eef.core.api.controllers.IConsumer)public void removeNewValueConsumer()
removeNewValueConsumer in interface IEEFListControllerIEEFListController.removeNewValueConsumer()protected EEFWidgetDescription getDescription()
getDescription in class AbstractEEFWidgetControllerAbstractEEFWidgetController.getDescription()public org.eclipse.core.runtime.IStatus action(EEFWidgetAction action, java.util.List<java.lang.Object> elements)
action in interface IEEFListControlleraction - Widget actionelements - The selected elementsIEEFListController.action(org.eclipse.eef.EEFWidgetAction,
java.util.List)protected java.lang.String getOnClickExpression()
getOnClickExpression in class AbstractEEFOnClickControllerAbstractEEFOnClickController.getOnClickExpression()