I want to create a resource for a new graphiti diagram, and open it programmatically.
I know this is possible, but I don't found any example or tutorial.
Do you know a good example or a kind of solution?
(They define an command and its handler that create a new diagram containing
all EClasses in the project. It's registered as a context menu function on
the Classes node in the project explorer in plugin.xml.)