Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » SVG in Eugnia(Urgent Help Please)
SVG in Eugnia [message #1016466] Wed, 06 March 2013 15:03 Go to next message
Joshua Nwokeji is currently offline Joshua Nwokeji
Messages: 89
Registered: January 2013
Member
Dear All,

I am still unable to add svg figure in my GMF editor. I am trying to develope a tool to draw Usecase diagrams: Thus I will need a stick-like figure to model an Actor.

I took the following steps:

(1) -> I generated GMF Editor from Eugenia with default figures, this worked fine.
Next
(2) -> I drew the svg figure using Inkscape.

(3) -> I right clicked the .diagram plugin i.e (org.eclipse.epsilon.eugenia.example1.diagram, and pasted the GOAL.svg file in it. Please see the screen shot.

Then I refer to it in .emf file as :

"@gmf.node( label = "name", figure = "svg", svg.uri="platform:/plugin/org.eclipse.epsilon.eugenia.example1.diagram/GOAL.svg")
class Actor extends Node {
}"

This gave me an error: Please see the screen shot attached.
Are these steps corrects? If not what can I do to resolve the problem?

Regards

Joshua
Re: SVG in Eugnia [message #1016474 is a reply to message #1016466] Wed, 06 March 2013 15:19 Go to previous message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-Dominguez
Messages: 309
Registered: January 2010
Senior Member
Dear Joshua,

Could we continue the discussion on the original thread?

http://www.eclipse.org/forums/index.php/t/457805/

Thanks,
Antonio
Previous Topic:Do the quickFixes work in tree-editor?
Next Topic:EOL
Goto Forum:
  


Current Time: Wed Oct 01 20:31:05 GMT 2014

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

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