|Re: Graphiti Diagram [message #1697859 is a reply to message #1697548]
||Tue, 09 June 2015 07:09
| Michael Wenz
Registered: July 2009
Location: Walldorf, Germany
probably you have missed to define the required extensions in plugin.xml:
(section Register the Diagram Type Provider and Diagram Type).
You can use the File --> New --> Project --> Plug-In Project wizard to
create a new plugin project (needed for any kind of Eclipse extensions),
provide a project name like "test1" click next until you reach "Templates"
page, mark "Plug-in with a Graphiti Editor" and click Finish. That will
create a very basic project containing everything you need to start with a
new Graphiti diagram editor, see:
To get familiar with Graphiti, the Graphiti tutorial would be a good
starting point, not sure if you have gone through that:
To get familiar with Eclipse plugin development in general, you should step
through one of the tutorials out there in the web, e.g. the one by Lars
The creation wizard for new Graphiti test projects has moved to File -->
New --> Project --> Other --> Graphiti Example Project. When you have such a
project you can open the context menu on that project and choose New -->
Graphiti Example Diagram. When your diagram type is correctly registered it
will appear in the drop down box for the diagram type.
Hope that helps...
Powered by FUDForum
. Page generated in 0.04222 seconds