use of org.whole.lang.model.ICompoundModel in project whole by wholeplatform.
the class E4GraphicalViewer method updateModelObserver.
protected void updateModelObserver(IEntity entity) {
ICompoundModel model = entity.wGetModel().getCompoundModel();
if (modelObserver != null && modelObserver.getModel() != model) {
modelObserver.dispose();
modelObserver = null;
}
if (modelObserver == null)
modelObserver = new ModelObserver(model, this);
}
use of org.whole.lang.model.ICompoundModel in project whole by wholeplatform.
the class E4TreeViewer method updateModelObserver.
protected void updateModelObserver(IEntity entity) {
ICompoundModel model = entity.wGetModel().getCompoundModel();
if (modelObserver != null && modelObserver.getModel() != model) {
modelObserver.dispose();
modelObserver = null;
}
if (modelObserver == null)
modelObserver = new ModelObserver(model, this);
}
use of org.whole.lang.model.ICompoundModel in project whole by wholeplatform.
the class DerivedBehaviorFactory method deploy.
public static void deploy(ITestEventsEntity entity) {
DerivationContext dc = createDerivationContext();
ICompoundModel model = entity.wGetModel().getCompoundModel();
model.addRequestEventHandler(dc);
model.addChangeEventHandler(dc);
}
Aggregations