Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Customize icon
Customize icon [message #892969] Mon, 02 July 2012 08:04 Go to next message
Matthias N is currently offline Matthias N
Messages: 65
Registered: June 2012
Member
Hi,

I want to specify an icon for a Node element, but I don't want to override the generated code
getImage(Object object)
.

Is there a way to specify the icon e.g., in the generator model, mapping model or dynamic templates ?

(My intent is not touch the generated code)

Thanks
Re: Customize icon [message #893439 is a reply to message #892969] Wed, 04 July 2012 07:53 Go to previous message
Romain Bioteau is currently offline Romain Bioteau
Messages: 62
Registered: August 2009
Location: Grenoble
Member
Hello,
You can try to use svg figure in your GMFGraph model.
We have implement this use case in our project. You should have a look here

Regrads


R&D Engineer at BonitaSoft

[Updated on: Wed, 04 July 2012 07:54]

Report message to a moderator

Previous Topic:Drag and drop in list compartment
Next Topic:exception when creating a connection via a command
Goto Forum:
  


Current Time: Thu Sep 18 07:49:53 GMT 2014

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

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