registerModelListeners();
}
private void activateContexts(Object me) {
if (me instanceof MBindings) {
MContext contextModel = (MContext) me;
MBindings container = (MBindings) me;
List<MBindingContext> bindingContexts = container
.getBindingContexts();
IEclipseContext context = contextModel.getContext();
if (context != null && !bindingContexts.isEmpty()) {
EContextService cs = context.get(EContextService.class);
for (MBindingContext element : bindingContexts) {
cs.activateContext(element.getElementId());
}