Skip to main content



      Home
Home » Eclipse Projects » Nebula » GridViewer and multicolumn text
GridViewer and multicolumn text [message #45219] Thu, 03 January 2008 14:42 Go to next message
Eclipse UserFriend
does the GridViewer support text spanning multiple columns. i understand
that i can achieve it using the Grid.

thanks.
Re: GridViewer and multicolumn text [message #45313 is a reply to message #45219] Fri, 04 January 2008 16:02 Go to previous messageGo to next message
Eclipse UserFriend
See GridItem#setColumnSpan.

Lei wrote:
> does the GridViewer support text spanning multiple columns. i understand
> that i can achieve it using the Grid.
>
> thanks.
Re: GridViewer and multicolumn text [message #46046 is a reply to message #45313] Wed, 09 January 2008 13:59 Go to previous messageGo to next message
Eclipse UserFriend
GridItem is part of Grid widget. i am trying to use GridViewer, is there a
way to achieve the similar effect using just the jface viewer classes?
thanks.
Re: GridViewer and multicolumn text [message #46075 is a reply to message #46046] Wed, 09 January 2008 14:02 Go to previous messageGo to next message
Eclipse UserFriend
Hm you can get access to the GridItem in JFace when you overload
CellLabelProvider#updateCell(ViewerCell) you can access the item using
ViewerCell#getItem().

We could think about a dedicated GridViewerColumnLabelProvider to make
this more easy?

Tom

Lei schrieb:
> GridItem is part of Grid widget. i am trying to use GridViewer, is there
> a way to achieve the similar effect using just the jface viewer classes?
> thanks.


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: GridViewer and multicolumn text [message #46104 is a reply to message #46075] Wed, 09 January 2008 14:16 Go to previous message
Eclipse UserFriend
Tom Schindl schrieb:
> Hm you can get access to the GridItem in JFace when you overload
> CellLabelProvider#updateCell(ViewerCell) you can access the item using

Sorry the method is named CellLabelProvider#update(ViewerCell).

Tom

--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: GridViewer and multicolumn text [message #587143 is a reply to message #45219] Fri, 04 January 2008 16:02 Go to previous message
Eclipse UserFriend
See GridItem#setColumnSpan.

Lei wrote:
> does the GridViewer support text spanning multiple columns. i understand
> that i can achieve it using the Grid.
>
> thanks.
Re: GridViewer and multicolumn text [message #587462 is a reply to message #45313] Wed, 09 January 2008 13:59 Go to previous message
Eclipse UserFriend
GridItem is part of Grid widget. i am trying to use GridViewer, is there a
way to achieve the similar effect using just the jface viewer classes?
thanks.
Re: GridViewer and multicolumn text [message #587475 is a reply to message #46046] Wed, 09 January 2008 14:02 Go to previous message
Eclipse UserFriend
Hm you can get access to the GridItem in JFace when you overload
CellLabelProvider#updateCell(ViewerCell) you can access the item using
ViewerCell#getItem().

We could think about a dedicated GridViewerColumnLabelProvider to make
this more easy?

Tom

Lei schrieb:
> GridItem is part of Grid widget. i am trying to use GridViewer, is there
> a way to achieve the similar effect using just the jface viewer classes?
> thanks.


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: GridViewer and multicolumn text [message #587486 is a reply to message #46075] Wed, 09 January 2008 14:16 Go to previous message
Eclipse UserFriend
Tom Schindl schrieb:
> Hm you can get access to the GridItem in JFace when you overload
> CellLabelProvider#updateCell(ViewerCell) you can access the item using

Sorry the method is named CellLabelProvider#update(ViewerCell).

Tom

--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Previous Topic:[Grid] How to set RowHeaderWidth ?
Next Topic:Does setSelection(index) on a grid invoke the selectionListener attached to it?
Goto Forum:
  


Current Time: Sun Jun 29 07:03:37 EDT 2025

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

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

Back to the top