Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to generate different icon for each label?
How to generate different icon for each label? [message #471426] Wed, 05 August 2009 18:29 Go to next message
Eclipse UserFriend
Originally posted by: ivo.petkov.gmail.com

Hi,

I want each label of a node to have its own icon generated.
In my case one node has 4 labels, all are set to have icons, but all these
use the node icon.
Is it possible to make the generator create different icon for each label?

Thanks in advance,
Ivo
Re: How to generate different icon for each label? [message #478456 is a reply to message #471426] Thu, 06 August 2009 10:00 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Ivo,

You hve to modify generated label ???EditPart.getLabelIcon() method to return
appropriate icon.

-----------------
Alex Shatalin
Previous Topic:XYZEditPart Compiler Error - Top Level Node represented by Label
Next Topic:Custom Label Parser: call orders
Goto Forum:
  


Current Time: Sat Apr 20 04:12:19 GMT 2024

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

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

Back to the top