Skip to main content


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 NwokejiFriend
Messages: 94
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-DominguezFriend
Messages: 594
Registered: January 2010
Location: Birmingham, UK
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: delete from diagram button always Disabled
Goto Forum:
  


Current Time: Wed Apr 24 22:31:27 GMT 2024

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

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

Back to the top