Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Customize icon
Customize icon [message #892969] Mon, 02 July 2012 04:04 Go to next message
Eclipse UserFriend
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 03:53 Go to previous message
Eclipse UserFriend
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

[Updated on: Wed, 04 July 2012 03:54] by Moderator

Previous Topic:Drag and drop in list compartment
Next Topic:Adding hyperlink to a message in MessageDialog
Goto Forum:
  


Current Time: Fri Jul 04 19:44:33 EDT 2025

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

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

Back to the top