Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Create a plugin for graphiti diagram
Create a plugin for graphiti diagram [message #1231392] Tue, 14 January 2014 15:03 Go to next message
cagkan toptas is currently offline cagkan toptasFriend
Messages: 5
Registered: January 2014
Location: italy
Junior Member
Hi,I am a beginner of Graphiti. By looking the tutorial from here, I'm trying to create a plug-in for graphiti diagram. I added the code in Features->AddFeature in the new plugin project I created. However when I create a test project and add a graphiti diagram, my plugin is not seen in the list.

Can anyone provide me step by step instruction how to create a plugin for a new shape?
  • Attachment: ss1.png
    (Size: 42.03KB, Downloaded 249 times)
  • Attachment: ss2.png
    (Size: 97.92KB, Downloaded 221 times)
Re: Create a plugin for graphiti diagram [message #1231457 is a reply to message #1231392] Tue, 14 January 2014 18:21 Go to previous messageGo to next message
Ralph Bergmann is currently offline Ralph BergmannFriend
Messages: 10
Registered: July 2009
Location: Berlin / Germany
Junior Member
do you have registered the Diagram Type Provider and Diagram Type?
see http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.graphiti.doc%2Fresources%2Fdocu%2Fgfw%2Fdiagram.htm&cp=25_1_2
Re: Create a plugin for graphiti diagram [message #1231824 is a reply to message #1231392] Wed, 15 January 2014 13:38 Go to previous messageGo to next message
cagkan toptas is currently offline cagkan toptasFriend
Messages: 5
Registered: January 2014
Location: italy
Junior Member
When I was creating a new plug-in project in java there was an option for "Use template plugin for graphiti diagram". After I chose it, there is an automatically created plugin.xml file in the project. I didn't touch that XML. should I modify it?
  • Attachment: ss3.png
    (Size: 64.55KB, Downloaded 212 times)
Re: Create a plugin for graphiti diagram [message #1232220 is a reply to message #1231824] Thu, 16 January 2014 13:06 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
The generated plugin.xml should be ok. Do you have any exceptions in the
Eclipse error log?

Michael
Previous Topic:Using Graphiti to draw projects of a rich domain model
Next Topic:Missing undo context on diagram save
Goto Forum:
  


Current Time: Sat Apr 20 00:12:03 GMT 2024

Powered by FUDForum. Page generated in 0.02631 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top