public class EEFGroupController extends AbstractEEFController implements IEEFGroupController
editingContextAdapter, interpreter, variableManager| Constructor and Description |
|---|
EEFGroupController(EEFGroupDescription 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 org.eclipse.emf.ecore.EObject |
getValidationRulesContainer()
Returns the EObject containing the validation rules.
|
protected org.eclipse.emf.ecore.EReference |
getValidationRulesReference()
Returns the EReference containing the validation rules.
|
void |
onNewLabel(java.util.function.Consumer<java.lang.String> consumer)
Register a consumer which will be called with the new value of the label when it will change.
|
void |
refresh()
Refresh the controller.
|
void |
removeNewLabelConsumer()
Remove the consumer of the new value of the label.
|
newEval, onValidation, removeValidationConsumerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonValidation, removeValidationConsumeractionpublic EEFGroupController(EEFGroupDescription 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 void onNewLabel(java.util.function.Consumer<java.lang.String> consumer)
onNewLabel in interface IEEFGroupControllerconsumer - The consumer of the new value of the labelIEEFGroupController.onNewLabel(java.util.function.Consumer)public void removeNewLabelConsumer()
removeNewLabelConsumer in interface IEEFGroupControllerIEEFGroupController.removeNewLabelConsumer()protected org.eclipse.emf.ecore.EObject getValidationRulesContainer()
getValidationRulesContainer in class AbstractEEFControllerAbstractEEFController.getValidationRulesContainer()protected org.eclipse.emf.ecore.EReference getValidationRulesReference()
getValidationRulesReference in class AbstractEEFControllerAbstractEEFController.getValidationRulesReference()public void refresh()
refresh in interface IEEFControllerrefresh in class AbstractEEFControllerAbstractEEFController.refresh()