public class EEFGroupController extends AbstractEEFController implements IEEFGroupController
interpreter, variableManager
Constructor and Description |
---|
EEFGroupController(EEFGroupDescription description,
org.eclipse.sirius.common.interpreter.api.IVariableManager variableManager,
org.eclipse.sirius.common.interpreter.api.IInterpreter interpreter)
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(IConsumer<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, removeValidationConsumer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onValidation, removeValidationConsumer
public EEFGroupController(EEFGroupDescription description, org.eclipse.sirius.common.interpreter.api.IVariableManager variableManager, org.eclipse.sirius.common.interpreter.api.IInterpreter interpreter)
description
- The descriptionvariableManager
- The variable managerinterpreter
- The interpreterpublic void onNewLabel(IConsumer<java.lang.String> consumer)
onNewLabel
in interface IEEFGroupController
consumer
- The consumer of the new value of the labelIEEFGroupController.onNewLabel(org.eclipse.eef.core.api.controllers.IConsumer)
public void removeNewLabelConsumer()
removeNewLabelConsumer
in interface IEEFGroupController
IEEFGroupController.removeNewLabelConsumer()
protected org.eclipse.emf.ecore.EObject getValidationRulesContainer()
getValidationRulesContainer
in class AbstractEEFController
AbstractEEFController.getValidationRulesContainer()
protected org.eclipse.emf.ecore.EReference getValidationRulesReference()
getValidationRulesReference
in class AbstractEEFController
AbstractEEFController.getValidationRulesReference()
public void refresh()
refresh
in interface IEEFController
refresh
in class AbstractEEFController
AbstractEEFController.refresh()