Risking to be the most annoying person in this forum, I'd like to know How can I associate an extension to my diagram files, and How can I create and open programmatically an either new or saved diagram file?
Michael Wenz Messages: 1867 Registered: July 2009 Location: Walldorf, Germany
This can be done using the standard Eclipse editor extension point
(org.eclipse.ui.editors) and defining the file extension there. Either use
the standard Graphiti DiagramEditor class or your own subclass of it. (Don't
forget the DiagramEditorActionBarContributor...)
Opening the editor can simply be done programmatically by standard Eclipse