SVG in Eugnia [message #1016466] |
Wed, 06 March 2013 10:03  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.04954 seconds