Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » GridViewer and GridColumnGroup
GridViewer and GridColumnGroup [message #46556] Mon, 14 January 2008 16:59 Go to next message
Lei is currently offline LeiFriend
Messages: 23
Registered: July 2009
Junior Member
hi all,

i am trying to get a GridTreeViewer to work with a column group. and so
far i dont find a way of doing it. In GridViewerColumn, i dont see a
constructor which allow me to pass in a column group as the parent. Is
there another way of doing this that i am not aware of? thanks in advance.


Lei
Re: GridViewer and GridColumnGroup [message #46680 is a reply to message #46556] Tue, 15 January 2008 19:31 Go to previous messageGo to next message
Lei is currently offline LeiFriend
Messages: 23
Registered: July 2009
Junior Member
I figured it out myself. it's actually very simple to do. just create a
GridColumnGroup and a GridColumn using this group. And then create a new
GridViewerColumn with this GridColumn. ;)
Re: GridViewer and GridColumnGroup [message #47239 is a reply to message #46680] Wed, 23 January 2008 20:38 Go to previous messageGo to next message
Jason Woods is currently offline Jason WoodsFriend
Messages: 29
Registered: July 2009
Junior Member
How did you do this? I only see constructors on GridViewerColumn that
take either a GridTreeViewer or a GridTableViewer - no GridColumn. I also
don't see a setColumn method anywhere...

Let me know a little more on how you did this please, I'd like to do the
same thing.
Re: GridViewer and GridColumnGroup [message #47646 is a reply to message #47239] Sun, 27 January 2008 15:01 Go to previous messageGo to next message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
Hi Jason,

There are constructors that take either GridTableViewer/GridTreeViewer
_and_ GridColumn.

regards,
-Chris

Jason wrote:
> How did you do this? I only see constructors on GridViewerColumn that
> take either a GridTreeViewer or a GridTableViewer - no GridColumn. I
> also don't see a setColumn method anywhere...
>
> Let me know a little more on how you did this please, I'd like to do the
> same thing.
Re: GridViewer and GridColumnGroup [message #47907 is a reply to message #47646] Mon, 28 January 2008 15:32 Go to previous message
Jason Woods is currently offline Jason WoodsFriend
Messages: 29
Registered: July 2009
Junior Member
Sure enough, it's there. I think your Javadocs are out of date though
because those ctors aren't in there...
Re: GridViewer and GridColumnGroup [message #587698 is a reply to message #46556] Tue, 15 January 2008 19:31 Go to previous message
Lei is currently offline LeiFriend
Messages: 23
Registered: July 2009
Junior Member
I figured it out myself. it's actually very simple to do. just create a
GridColumnGroup and a GridColumn using this group. And then create a new
GridViewerColumn with this GridColumn. ;)
Re: GridViewer and GridColumnGroup [message #587892 is a reply to message #46680] Wed, 23 January 2008 20:38 Go to previous message
Jason Woods is currently offline Jason WoodsFriend
Messages: 29
Registered: July 2009
Junior Member
How did you do this? I only see constructors on GridViewerColumn that
take either a GridTreeViewer or a GridTableViewer - no GridColumn. I also
don't see a setColumn method anywhere...

Let me know a little more on how you did this please, I'd like to do the
same thing.
Re: GridViewer and GridColumnGroup [message #588008 is a reply to message #47239] Sun, 27 January 2008 15:01 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
Hi Jason,

There are constructors that take either GridTableViewer/GridTreeViewer
_and_ GridColumn.

regards,
-Chris

Jason wrote:
> How did you do this? I only see constructors on GridViewerColumn that
> take either a GridTreeViewer or a GridTableViewer - no GridColumn. I
> also don't see a setColumn method anywhere...
>
> Let me know a little more on how you did this please, I'd like to do the
> same thing.
Re: GridViewer and GridColumnGroup [message #588103 is a reply to message #47646] Mon, 28 January 2008 15:32 Go to previous message
Jason Woods is currently offline Jason WoodsFriend
Messages: 29
Registered: July 2009
Junior Member
Sure enough, it's there. I think your Javadocs are out of date though
because those ctors aren't in there...
Previous Topic:Grid row headers
Next Topic:Gallery Item event listeners
Goto Forum:
  


Current Time: Thu Mar 28 11:52:36 GMT 2024

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

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

Back to the top