|
|
|
Re: Graphiti Diagram [message #1697859 is a reply to message #1697548] |
Tue, 09 June 2015 07:09 |
Michael Wenz Messages: 1931 Registered: July 2009 Location: Walldorf, Germany |
Senior Member |
|
|
Ayoub,
probably you have missed to define the required extensions in plugin.xml:
http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.graphiti.doc%2Fresources%2Fdocu%2Fgfw%2Fdiagram.htm&cp=27_1_2
(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:
http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.graphiti.doc%2Fresources%2Fdocu%2Ftools%2FNewPluginWizard.html&cp=27_4_0
To get familiar with Graphiti, the Graphiti tutorial would be a good
starting point, not sure if you have gone through that:
http://help.eclipse.org/kepler/index.jsp?nav=%2F27_1
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
Vogel:
http://www.vogella.com/tutorials/EclipsePlugIn/article.html
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...
Michael
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05726 seconds