Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Tree lines visibility
Tree lines visibility [message #87717] Thu, 15 May 2008 12:18 Go to next message
Eclipse UserFriend
hi,

is it possible to turn of the lines within a tree. I know from RCP to
setLinesVisible(false) on the Tree works, but it doesn't seem to work in
RAP...

Regards
Markus
Re: Tree lines visibility [message #87821 is a reply to message #87717] Thu, 15 May 2008 16:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Hi,

Markus Krüger wrote:
> is it possible to turn of the lines within a tree. I know from RCP to
> setLinesVisible(false) on the Tree works, but it doesn't seem to work in
> RAP...

As the API is in place this should also work in RAP. Since it apparently
does not, I filed bug 232406.

Ralf
Re: Tree lines visibility [message #87851 is a reply to message #87821] Thu, 15 May 2008 17:24 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

while it is true that this API slipped into the tree without a client
-side implementation there is a semantic difference.

Markus, did you spoke about the tree lines you see on the left which
represent the "tree" structure? These can only be eliminated by
replacing the corresponding images in the qx-fragment (see other thread).
Ralf, this was by the way the case we thought about boolean theme-values ;)

setLinesVisible does not refer to the lines mentioned above.
setLinesVisible is a hint for the widget to show alternating background
colors of the treeItems (at least on GTK) which could be emulated with
pure RWT api.

Just wanted to clarify the situation.

Greets
Benny

Ralf Sternberg wrote:
> Hi,
>
> Markus Krüger wrote:
>> is it possible to turn of the lines within a tree. I know from RCP to
>> setLinesVisible(false) on the Tree works, but it doesn't seem to work
>> in RAP...
>
> As the API is in place this should also work in RAP. Since it apparently
> does not, I filed bug 232406.
>
> Ralf
Re: Tree lines visibility [message #87865 is a reply to message #87851] Fri, 16 May 2008 03:44 Go to previous message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Hi,

Benjamin Muskalla wrote:
> while it is true that this API slipped into the tree without a client
> -side implementation there is a semantic difference.
>
> Markus, did you spoke about the tree lines you see on the left which
> represent the "tree" structure? These can only be eliminated by
> replacing the corresponding images in the qx-fragment (see other thread).
> Ralf, this was by the way the case we thought about boolean theme-values ;)

Sure I remember. Now I guess its gonna be a "display" property in the
CSS, given that it is not directly included in the images.

> setLinesVisible does not refer to the lines mentioned above.
> setLinesVisible is a hint for the widget to show alternating background
> colors of the treeItems (at least on GTK) which could be emulated with
> pure RWT api.

Right, I mixed that up. BTW, the Table also has a method of the same
name which - in our implementation - controls the visibility of the
grid. I think this method should have the same effect on both widgets.

Cheers, Ralf
Previous Topic:RAP rendering problem on Mac OS
Next Topic:Tree plus and minus image
Goto Forum:
  


Current Time: Sun Aug 31 11:15:58 EDT 2025

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

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

Back to the top