Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » SVG images in editor which is generated using GMF
SVG images in editor which is generated using GMF [message #1312802] Thu, 24 April 2014 14:08 Go to next message
mind mixer is currently offline mind mixerFriend
Messages: 6
Registered: April 2014
Junior Member
I've successfully generated editor using GMF.

I have Node File (FileFigure) and Node Folder (FolderFigure) in filesystem.gmfgraph. The property Figure is Figure Descriptor FileFigure.

http://imgur.com/l6h9HGg.png

How I can use a SVG figures in the generated editor insted of Rectangle FileFigure.
What should I do? I have some SVG figures file. How I can integrate in my editor?

If I add SVG Figure in my Figure Gallery Default what is the value of Document URI property? How can I set the reference to my SVG?

[Updated on: Thu, 24 April 2014 14:12]

Report message to a moderator

Re: SVG images in editor which is generated using GMF [message #1349856 is a reply to message #1312802] Mon, 12 May 2014 11:31 Go to previous message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

there is a sampel for document URI here: https://wiki.eclipse.org/Graphical_Modeling_Framework/Models/GMFGraph#SVG
you can take a look to https://github.com/bonitasoft/bonita-studio/tree/master/bundles/plugins/org.bonitasoft.studio-models for a sample in a real project.

Regards,



Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Previous Topic:The GMF project page
Next Topic:Overwrite top/Figure.xpt
Goto Forum:
  


Current Time: Mon Mar 30 01:51:49 GMT 2020

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

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

Back to the top