Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Zest Graph nodes - vertically align Text and Image on node Label
Zest Graph nodes - vertically align Text and Image on node Label [message #240453] Mon, 07 January 2008 11:11 Go to next message
Michelle Tadmor is currently offline Michelle Tadmor
Messages: 23
Registered: July 2009
Junior Member
Hi!
I have a graph and i want the name to appear on top to the image for each node. i see that internally you are using cacheLabel and such a flag is possible there but i have no way of reaching these "labels" or "GraphNodes" during their creation. any ideas?

Cheers,
Michelle
Re: Zest Graph nodes - vertically align Text and Image on node Label [message #240572 is a reply to message #240453] Fri, 11 January 2008 05:16 Go to previous messageGo to next message
Eclipse User
Originally posted by: irbull.cs.uvic.ca

I have actually written a CGraphNode (Custom Graph Node) which can be
extended so you can use your own figure.

The code is mostly written, but I want to build a small example before I
submit it (to test the API). I have just opened a bug report so you can
follow this, and I will update the bug when I get the code checked in.

.....
ok I lied, the bug server seems to be down right now. I will add the
bug report tomorrow and put the link here.

cheers,
ian


Michelle Tadmor wrote:
> Hi!
> I have a graph and i want the name to appear on top to the image for each node. i see that internally you are using cacheLabel and such a flag is possible there but i have no way of reaching these "labels" or "GraphNodes" during their creation. any ideas?
>
> Cheers,
> Michelle
[zest] Re: Zest Graph nodes - vertically align Text and Image on node Label [message #240632 is a reply to message #240572] Sat, 12 January 2008 01:58 Go to previous message
Eclipse User
Originally posted by: irbull.cs.uvic.ca

Here is the bug report:

215040: Add custom graph items
https://bugs.eclipse.org/bugs/show_bug.cgi?id=215040

Ian Bull wrote:
> I have actually written a CGraphNode (Custom Graph Node) which can be
> extended so you can use your own figure.
>
> The code is mostly written, but I want to build a small example before I
> submit it (to test the API). I have just opened a bug report so you can
> follow this, and I will update the bug when I get the code checked in.
>
> ....
> ok I lied, the bug server seems to be down right now. I will add the
> bug report tomorrow and put the link here.
>
> cheers,
> ian
>
>
> Michelle Tadmor wrote:
>> Hi!
>> I have a graph and i want the name to appear on top to the image for
>> each node. i see that internally you are using cacheLabel and such a
>> flag is possible there but i have no way of reaching these "labels" or
>> "GraphNodes" during their creation. any ideas?
>>
>> Cheers, Michelle
Previous Topic:Forcing graphical events
Next Topic:Zest: How to style connections? Compartments?
Goto Forum:
  


Current Time: Sun Sep 21 20:24:48 GMT 2014

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

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