modelHandler = ModelHandlerLocator.createModelHandler(modelUri, bpmnResource);
ModelHandlerLocator.put(diagramUri, modelHandler);
try {
if (modelFile.exists()) {
bpmnResource.load(null);
} else {
doSave(null);
}
} catch (IOException e) {
Status status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, e.getMessage(), e);