Messages.Fd2DiagramEditorUtil_CreateDiagramCommandLabel,
Collections.EMPTY_LIST) {
protected CommandResult doExecuteWithResult(
IProgressMonitor monitor, IAdaptable info)
throws ExecutionException {
Diagram model = createInitialModel();
attachModelToResource(model, modelResource);
org.eclipse.gmf.runtime.notation.Diagram diagram = ViewService
.createDiagram(model, DiagramEditPart.MODEL_ID,
Fd2DiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT);