public class EEFRadioController extends AbstractEEFWidgetController implements IEEFRadioController
newHelpConsumer, newLabelConsumereditingContextAdapter, interpreter, variableManager| Constructor and Description |
|---|
EEFRadioController(EEFRadioDescription 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 EEFRadioController(EEFRadioDescription 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)
IEEFRadioControllerupdateValue in interface IEEFRadioControllertext - The new value of the textpublic void refresh()
refresh in interface IEEFControllerrefresh in class AbstractEEFWidgetControllerorg.eclipse.eef.core.api.controllers.EEFTextController#refresh()public void onNewValue(java.util.function.Consumer<java.lang.Object> consumer)
onNewValue in interface IEEFRadioControllerconsumer - The consumer of the new value of the textorg.eclipse.eef.core.api.controllers.EEFTextController#onNewValue(java.util.function.Consumer)public void onNewCandidates(java.util.function.Consumer<java.util.List<java.lang.Object>> consumer)
onNewCandidates in interface IEEFRadioControllerconsumer - The consumer of the new candidates of the comboorg.eclipse.eef.core.api.controllers.EEFTextController#onNewValue(java.util.function.Consumer)public void removeNewValueConsumer()
removeNewValueConsumer in interface IEEFRadioControllerorg.eclipse.eef.core.api.controllers.EEFSelectController#removeNewValueConsumer()public void removeNewCandidatesConsumer()
removeNewCandidatesConsumer in interface IEEFRadioControllerorg.eclipse.eef.core.api.controllers.EEFSelectController#removeNewCandidatesConsumer()protected EEFWidgetDescription getDescription()
getDescription in class AbstractEEFWidgetControllerAbstractEEFWidgetController.getDescription()