I have a custom graphiti project which modifies a great deal of the program's functionality. I'm tying to override the DiagramEditor class in order to make some specific changes to how the editor works. I was browsing the forums and this seems to be something commonly done, yet I couldn't figure out exactly how to do it.
I could make my own class which extended DiagramEditor of course, but I couldn't get graphiti to use it. I was wondering if somebody could walk me through this process of overriding the built-in editor with my own?
You have to register your derived editor by using the org.eclipse.ui.editors extension point.
Next, if you want to manually call that editor, you would have to use the Workbench API to open an editor, just search for "eclipse open editor programmatically".