use of org.whole.lang.factories.IEntityFactory in project whole by wholeplatform.
the class BindingManagerFactory method createVariablesViewModel.
public IEntity createVariablesViewModel(IBindingManager bm, Set<String> includeNames) {
IEntityFactory ef = GenericEntityFactory.instance;
IEntity environments = ef.create(getEdEnum().valueOf("Environments"));
environments.wAdd(createEnvironment(bm, "env", includeNames, createFlatBindingsModel(bm)));
return ef.create(getEdEnum().valueOf("VariablesViewModel"), ef.create(getEdEnum().valueOf("EnvironmentManager"), (Object) bm.wGetEnvironmentManager()), environments);
}
Aggregations