Messages.CismodelDiagramEditorUtil_CreateDiagramCommandLabel,
Collections.EMPTY_LIST) {
protected CommandResult doExecuteWithResult(
IProgressMonitor monitor, IAdaptable info)
throws ExecutionException {
Modeler model = createInitialModel();
attachModelToResource(model, modelResource);
Diagram diagram = ViewService.createDiagram(model,
ModelerEditPart.MODEL_ID,
CismodelDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT);