Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » migrating from Ganymede to Galileo
migrating from Ganymede to Galileo [message #600048] Wed, 28 July 2010 09:25 Go to next message
David  is currently offline David
Messages: 23
Registered: June 2010
Junior Member
Hello again,
Our PlugIn uses nebula grid and target platform ganymede (3.4.0).
Now we change target to galileo (3.5.2).
At first glance, everything works fine except one little thing:
The Method Point[] getCellSelection() in Grid.java has changed its behaviour.
With ganymede, the returned Point´s y value was always refered to the complete expanded grid.
Now it seems to depend on the expanded/collapsed state of previous rows.
What can have caused this change?
Is there a way to get the old behaviour?

regards,
David
Re: migrating from Ganymede to Galileo [message #600052 is a reply to message #600048] Wed, 28 July 2010 10:24 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5291
Registered: July 2009
Senior Member
Hi,

Well it's hard too tell with knowing which build (or better
CVS-Revision) of the Grid you've been using before. We have never
released stuff with Ganymede nor Galileo.

If you don't need new features of the latest build I think you could
still use the old version of grid.

Tom

Am 28.07.10 15:25, schrieb David:
> Hello again,
> Our PlugIn uses nebula grid and target platform ganymede (3.4.0).
> Now we change target to galileo (3.5.2).
> At first glance, everything works fine except one little thing:
> The Method Point[] getCellSelection() in Grid.java has changed its
> behaviour.
> With ganymede, the returned Point´s y value was always refered to the
> complete expanded grid.
> Now it seems to depend on the expanded/collapsed state of previous rows.
> What can have caused this change?
> Is there a way to get the old behaviour?
>
> regards,
> David
Re: migrating from Ganymede to Galileo [message #600059 is a reply to message #600048] Thu, 29 July 2010 02:05 Go to previous messageGo to next message
David  is currently offline David
Messages: 23
Registered: June 2010
Junior Member
The version of the nebula grid has not changed, only the target platform.
Sorry for not pointing that out.
Maybe some differences in SWT or JFace?

greetings,
David
Re: migrating from Ganymede to Galileo [message #600079 is a reply to message #600059] Thu, 29 July 2010 04:37 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5291
Registered: July 2009
Senior Member
Hi,

Well JFace-Viewers has always created the subitems lazily so if the
TreeItem hasn't been expanded yet no subitems are available (beside a
virtual one to show the expand icon).

Because you are still using the same Grid-Implementation I'm a bit
clueless on what's going wrong for you. What happens if you
expand/collapse the complete tree once, are the y-Values correct then?

Tom

Am 29.07.10 08:05, schrieb David:
> The version of the nebula grid has not changed, only the target platform.
> Sorry for not pointing that out.
> Maybe some differences in SWT or JFace?
>
> greetings,
> David
Previous Topic:CDateTime Databinding
Next Topic:migrating from Ganymede to Galileo
Goto Forum:
  


Current Time: Wed Aug 27 09:02:51 EDT 2014

Powered by FUDForum. Page generated in 0.13672 seconds