Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » [Grid] setTopIndex without V_SCROLL
[Grid] setTopIndex without V_SCROLL [message #63033] Fri, 24 April 2009 12:40 Go to next message
Thomas  ichstädt-Engelen is currently offline Thomas ichstädt-EngelenFriend
Messages: 50
Registered: July 2009
Member

Hi,

i am using two Grid's which are located side by side and behave as one
Grid with fixed columns (inspired by
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet234.java?view=co).

No i'd like to make the VScrollBar of the left Grid invisible which
unfortunately causes the "parallel scrolling" to break. This happens due
to

if (!vScroll.getVisible())
{
return;
}

in method setTopIndex() of Grid.

Is there any chance to workaround that (using setSelection() of Grid makes
the selection change correctly but does not cause the tree to scroll)? I'd
like to achieve synchronised scrolling without having the left VScrollBar
visible.

Thanks in advance for any hints and tipps,

Thomas E.-E.
Re: [Grid] setTopIndex without V_SCROLL [message #63034 is a reply to message #63033] Fri, 24 April 2009 14:59 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

Is this https://bugs.eclipse.org/bugs/show_bug.cgi?id=197008 and what
you really want is fixed columns right?

Tom

Thomas Eichstädt-Engelen schrieb:
> Hi,
>
> i am using two Grid's which are located side by side and behave as one
> Grid with fixed columns (inspired by
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet234.java?view=co).
>
>
> No i'd like to make the VScrollBar of the left Grid invisible which
> unfortunately causes the "parallel scrolling" to break. This happens due to
> if (!vScroll.getVisible())
> {
> return;
> }
>
> in method setTopIndex() of Grid.
>
> Is there any chance to workaround that (using setSelection() of Grid
> makes the selection change correctly but does not cause the tree to
> scroll)? I'd like to achieve synchronised scrolling without having the
> left VScrollBar visible.
>
> Thanks in advance for any hints and tipps,
>
> Thomas E.-E.
>
>
Re: [Grid] setTopIndex without V_SCROLL [message #63035 is a reply to message #63034] Fri, 24 April 2009 15:42 Go to previous messageGo to next message
Thomas  ichstädt-Engelen is currently offline Thomas ichstädt-EngelenFriend
Messages: 50
Registered: July 2009
Member

Hi Tom,

> Is this https://bugs.eclipse.org/bugs/show_bug.cgi?id=197008 and what
> you really want is fixed columns right?

yeeees, i do really want fixed columns ;-) Did i get the bugs right that
there is still a solution in grid to achieve that?

cheers,

Thomas E.-E.
Re: [Grid] setTopIndex without V_SCROLL [message #63037 is a reply to message #63035] Fri, 24 April 2009 19:01 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
yes at least the author in the bug says it somehow works. As you noticed
I today ranked all the bugs of grid based on whether they have a patch,
the amount of work, ... .

Sad enough the fixed column stuff is not very high up in the priority
list though really many people are interested in such a feature but we
(Chris and me) have to face the reality that we could not work on this
our own but need to depend on external contributors.

My current strategy was to rank bugs and see which bugs are backed by
interested people (e.g. providing a patch, ...) and integrate this
stuff. Adding the fixed column feature is quite a large refactoring
effort I guess and there is no one who really started working on this
feature => I put it to P5 but at the very moment somebody invests time
into it it would immediately go up in the priority.

A fixed footer-row is already possible since the header_footer branch
got integrated back to the code base (I was payed to add such a feature
and was allowed to contribute it back but fixed columns hasn't been a
requirement).

Tom

Thomas Eichstädt-Engelen schrieb:
> Hi Tom,
>
>> Is this https://bugs.eclipse.org/bugs/show_bug.cgi?id=197008 and what
>> you really want is fixed columns right?
>
> yeeees, i do really want fixed columns ;-) Did i get the bugs right that
> there is still a solution in grid to achieve that?
>
> cheers,
>
> Thomas E.-E.
>
Re: [Grid] setTopIndex without V_SCROLL [message #594533 is a reply to message #63033] Fri, 24 April 2009 14:59 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

Is this https://bugs.eclipse.org/bugs/show_bug.cgi?id=197008 and what
you really want is fixed columns right?

Tom

Thomas Eichstädt-Engelen schrieb:
> Hi,
>
> i am using two Grid's which are located side by side and behave as one
> Grid with fixed columns (inspired by
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet234.java?view=co).
>
>
> No i'd like to make the VScrollBar of the left Grid invisible which
> unfortunately causes the "parallel scrolling" to break. This happens due to
> if (!vScroll.getVisible())
> {
> return;
> }
>
> in method setTopIndex() of Grid.
>
> Is there any chance to workaround that (using setSelection() of Grid
> makes the selection change correctly but does not cause the tree to
> scroll)? I'd like to achieve synchronised scrolling without having the
> left VScrollBar visible.
>
> Thanks in advance for any hints and tipps,
>
> Thomas E.-E.
>
>
Re: [Grid] setTopIndex without V_SCROLL [message #594540 is a reply to message #63034] Fri, 24 April 2009 15:42 Go to previous message
Thomas  ichstädt-Engelen is currently offline Thomas ichstädt-EngelenFriend
Messages: 50
Registered: July 2009
Member

Hi Tom,

> Is this https://bugs.eclipse.org/bugs/show_bug.cgi?id=197008 and what
> you really want is fixed columns right?

yeeees, i do really want fixed columns ;-) Did i get the bugs right that
there is still a solution in grid to achieve that?

cheers,

Thomas E.-E.
Re: [Grid] setTopIndex without V_SCROLL [message #594551 is a reply to message #63035] Fri, 24 April 2009 19:01 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
yes at least the author in the bug says it somehow works. As you noticed
I today ranked all the bugs of grid based on whether they have a patch,
the amount of work, ... .

Sad enough the fixed column stuff is not very high up in the priority
list though really many people are interested in such a feature but we
(Chris and me) have to face the reality that we could not work on this
our own but need to depend on external contributors.

My current strategy was to rank bugs and see which bugs are backed by
interested people (e.g. providing a patch, ...) and integrate this
stuff. Adding the fixed column feature is quite a large refactoring
effort I guess and there is no one who really started working on this
feature => I put it to P5 but at the very moment somebody invests time
into it it would immediately go up in the priority.

A fixed footer-row is already possible since the header_footer branch
got integrated back to the code base (I was payed to add such a feature
and was allowed to contribute it back but fixed columns hasn't been a
requirement).

Tom

Thomas Eichstädt-Engelen schrieb:
> Hi Tom,
>
>> Is this https://bugs.eclipse.org/bugs/show_bug.cgi?id=197008 and what
>> you really want is fixed columns right?
>
> yeeees, i do really want fixed columns ;-) Did i get the bugs right that
> there is still a solution in grid to achieve that?
>
> cheers,
>
> Thomas E.-E.
>
Previous Topic:[Grid] An editing issue in macosx
Next Topic:CDateTime release schedule?
Goto Forum:
  


Current Time: Fri Apr 19 13:52:16 GMT 2024

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

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

Back to the top