In the graphiti editor each of my files is being saved in .diagram format. I am being unable to reopen the saved files in the diagram editor. I shall like to know how to reopen the saved files in the diagram editor
Michael Wenz Messages: 1488 Registered: July 2009 Location: Walldorf, Germany
You should create a FileEditorInput for that file and pass it to PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage().openEditor. As editor id for that id you can use the constant defined in DiagramEditor.DIAGRAM_EDITOR_ID.