public class EEFSelectController extends AbstractEEFWidgetController implements IEEFSelectController
newHelpConsumer, newLabelConsumereditingContextAdapter, interpreter, variableManager| Constructor and Description |
|---|
EEFSelectController(EEFSelectDescription 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 |
|---|---|
protected EEFWidgetDescription |
getDescription()
Returns the widget description.
|
void |
onNewCandidates(java.util.function.Consumer<java.util.List<java.lang.Object>> consumer)
Register a consumer which will be called with the new value of the candidates when it will change.
|
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 |
removeNewCandidatesConsumer()
Remove the consumer of the new value of the label.
|
void |
removeNewValueConsumer()
Remove the consumer of the new value of the text.
|
org.eclipse.core.runtime.IStatus |
updateValue(java.lang.Object text)
Update the value of the text.
|
computeHelp, getValidationRulesContainer, getValidationRulesReference, onNewHelp, onNewLabel, removeNewHelpConsumer, removeNewLabelConsumernewEval, onValidation, removeValidationConsumerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeHelp, onNewHelp, onNewLabel, removeNewHelpConsumer, removeNewLabelConsumeronValidation, removeValidationConsumerpublic EEFSelectController(EEFSelectDescription 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 adapterpublic org.eclipse.core.runtime.IStatus updateValue(java.lang.Object text)
IEEFSelectControllerupdateValue in interface IEEFSelectControllertext - The new value of the textpublic void refresh()
refresh in interface IEEFControllerrefresh in class AbstractEEFWidgetControllerAbstractEEFWidgetController.refresh()public void onNewValue(java.util.function.Consumer<java.lang.Object> consumer)
onNewValue in interface IEEFSelectControllerconsumer - The consumer of the new value of the textIEEFTextController.onNewValue(java.util.function.Consumer)public void onNewCandidates(java.util.function.Consumer<java.util.List<java.lang.Object>> consumer)
onNewCandidates in interface IEEFSelectControllerconsumer - The consumer of the new candidates of the comboIEEFTextController.onNewValue(java.util.function.Consumer)public void removeNewValueConsumer()
removeNewValueConsumer in interface IEEFSelectControllerIEEFSelectController.removeNewValueConsumer()public void removeNewCandidatesConsumer()
removeNewCandidatesConsumer in interface IEEFSelectControllerIEEFSelectController.removeNewCandidatesConsumer()protected EEFWidgetDescription getDescription()
getDescription in class AbstractEEFWidgetControllerAbstractEEFWidgetController.getDescription()