Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Connection label icon
Connection label icon [message #235457] Mon, 06 July 2009 16:22 Go to next message
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 472
Registered: July 2009
Senior Member
Hi,

I have a editor with connection with label and icon associated with
label, GMF runtime use default icons which are in icons/ directory of
emf edit plugin. Then to customize my GMF editor I have replaced all
default icons. But my connections icons are always default icons and by
looking for ImageDescriptor in generated code, only icons for Palette is
fetched from edit plugin icons/ directory. And my PolylineConnectionEx
don't use Image.

Where GMF runtime fetch icons for Connection label icons?

Thanks.
Re: Connection label icon [message #235496 is a reply to message #235457] Tue, 07 July 2009 10:19 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Esteban,

Try setting ElementIcon property to true for the corresponding DiagramLabel
element of .gmfgraph model (+transform .gmfmap->.gmfgen + regenerate code).

-----------------
Alex Shatalin
Re: Connection label icon [message #235593 is a reply to message #235496] Wed, 08 July 2009 07:48 Go to previous message
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 472
Registered: July 2009
Senior Member
Hi Alex,

In my gmfgraph, I changed "Design Label Mapping" in my "Link Mapping" to
a "Label Mapping" and now it works.

Thanks Alex.
Previous Topic:Always add border items to the same side
Next Topic:Issue with Layouts before in gmfgraph diagrams
Goto Forum:
  


Current Time: Sun Mar 29 07:00:03 GMT 2020

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

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

Back to the top