return (EODistributedObjectStore) objectStore;
}
public static void formWithEntityName(String entityName,
EOGlobalID globalID) {
EOControllerFactory f = EOControllerFactory.sharedControllerFactory();
EOController controller = f.controllerWithSpecification(new NSDictionary(new Object[] { entityName,
EOControllerFactory.FormTask,
EOControllerFactory.TopLevelWindowQuestion },
new Object[] { EOControllerFactory.EntitySpecification,
EOControllerFactory.TaskSpecification,
EOControllerFactory.QuestionSpecification }),
true);
if (controller != null) {
EOFormController formController = (EOFormController) f.controllerWithEntityName(controller,
EOControllerFactory.Open.class,
entityName);
formController.openObjectWithGlobalID(globalID);
formController.setEditability(EOEditable.AlwaysEditable);
formController.makeVisible();