Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Two errors in tutorial I am curious about(DiagramTypeProcider and Singleton requirement error)
Two errors in tutorial I am curious about [message #1036402] Mon, 08 April 2013 10:34 Go to next message
Mårten Carlzon is currently offline Mårten CarlzonFriend
Messages: 60
Registered: March 2013
Location: Sweden
Member

Hi

Was trying to go trough the graphiti tutorial but I end up with two errors I was curious about. They are:
"Unable to create DiagramTypeProcider class"
--- Solved my problem related to it but still like the misspelling so let the error stay (v and c are acceptably close for this misspelling as well Smile) ----


"Plug-ins declaring extensions or extension points must set the singleton directive to true"

This error is in the manifest file for the row with:
"Bundle-SymbolicName: org.eclipse.graphiti.examples.tutorial.diagram"
if I add ";singleton:=true" at the end it will compile but just wanted to check if this will have any bad effects since you don't mention the singleton thing in your tutorial.

Thanks for any help

Write you later / Mårten

[Updated on: Mon, 08 April 2013 11:14]

Report message to a moderator

Re: Two errors in tutorial I am curious about [message #1037446 is a reply to message #1036402] Tue, 09 April 2013 15:05 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Marten,

thanks for pointing out that spelling error, it was already corrected some
time ago in the head version for Graphiti 0.10.0.

Regarding the spaces in the class name; this might be an Eclipse caching
issue, try starting your Eclipse runtime setting the -clean option (clean
configuration area).

The singleton flag is required for all plugins that define extensions. It
means that at runtime only one instance of the plugin can be started,
without the flag set multiple instances could be started, e.g. different
versions of the plugin.

Michael
Re: Two errors in tutorial I am curious about [message #1037940 is a reply to message #1037446] Wed, 10 April 2013 07:47 Go to previous message
Mårten Carlzon is currently offline Mårten CarlzonFriend
Messages: 60
Registered: March 2013
Location: Sweden
Member

Hi Michael

Ok, well, sitting on version 0.9.2 but at least I know it doesn't show because a misspelled class or something Smile

The spaces was because when I copied the plugin.xml files from somewhere (think this forum but not certain) and eclipse read a line-wrap as a new line and I missed it... noticed it an hour after posting. Always fun when you ask someone for help only to notice the error just as they come to you Smile

Ahh ok, haven't worked with plugins before but thanks for explaining it for me.

Write you later / Mårten
Previous Topic:Update the shapes programmatically
Next Topic:remove all bendpoints from a connection
Goto Forum:
  


Current Time: Fri Apr 19 02:38:01 GMT 2024

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

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

Back to the top