IEclipseContext lclContext = parentContext.createChild(getContextName((MApplicationElement) model));
populateModelInterfaces(model, lclContext, model.getClass().getInterfaces());
model.setContext(lclContext);
for (String variable : model.getVariables()) {
lclContext.declareModifiable(variable);
}
Map<String, String> props = model.getProperties();
for (String key : props.keySet()) {
lclContext.set(key, props.get(key));