Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Table Viewer
Table Viewer [message #462778] Wed, 31 January 2007 23:24 Go to next message
Eclipse UserFriend
Originally posted by: pearl.t.gmail.com

Hi,

Iam using table viewer.Can i get row headers and column headers
with their labels on it using table viewer..?


Thanks in advance
pearl
Re: Table Viewer [message #462816 is a reply to message #462778] Thu, 01 February 2007 04:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: peter_ossipov.mail.ru

Hi Pearl
What is the problem?
Are the methods setHeaderVisible & setLinesVisible not enought? Or you
want something else?
TableViewer.getTable().setHeaderVisible(true)
eh?
pearl wrote:
>
> Hi,
>
> Iam using table viewer.Can i get row headers and column headers
> with their labels on it using table viewer..?
>
>
> Thanks in advance
> pearl
>
>
Re: Table Viewer [message #463078 is a reply to message #462816] Tue, 06 February 2007 00:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pearl.t.gmail.com

peter,
The snippet u suggested will make only column headers visible.
i want to display rowheaders with their labels..!
Re: Table Viewer [message #463081 is a reply to message #463078] Tue, 06 February 2007 03:26 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

This is not supported by SWT-Table. You can try to mimic by placing
Button-Controls in the first column of the table or better use a custom
drawn table from the nebula project (http://www.eclipse.org/nebula/) or
any other project around providing a table.

Tom

pearl schrieb:
> peter,
> The snippet u suggested will make only column headers visible.
> i want to display rowheaders with their labels..!
>
Re: Table Viewer [message #463254 is a reply to message #463081] Wed, 07 February 2007 08:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pearl.t.gmail.com

Thanks tom!

I can use nebula grid ,but how will i make it working using viewer.

can i sort it out using table viewer..?
Re: Table Viewer [message #463265 is a reply to message #463254] Wed, 07 February 2007 10:17 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

current implementation of GridViewer found in CVS is a work in progress.
If you need a working solution you'll have to check out the relevant
projects from CVS and apply the patch from the following bug to JFace
and Nebface from CVS-HEAD:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=172646

Nebula support is new in 3.3 and it's not finished 'til 3.3M6 because
JFace will provide a very flexible new API immediately after M5 is out
end of this week. So expect a working GridViewer at the very very early
circles of M6.

Tom

pearl schrieb:
> Thanks tom!
>
> I can use nebula grid ,but how will i make it working using viewer.
>
> can i sort it out using table viewer..?
>
>
Re: Table Viewer [message #463297 is a reply to message #463265] Wed, 07 February 2007 23:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pearl.t.gmail.com

so M6 would be released by 15th feb or so..!great news Tom!

but till then is it possible to get row headers using table viewer.
Re: Table Viewer [message #463301 is a reply to message #463297] Thu, 08 February 2007 02:24 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Well M5 is out on Friday if there's nothing happing 3.3M5 test pass is
this week. Immediately afterwards JFace will release the patches with
some minor changes to CVS-HEAD and Nebface can follow up immediately
because my none SWT-Test case is Nebula-Grid.

Tom

pearl schrieb:
>
> so M6 would be released by 15th feb or so..!great news Tom!
>
> but till then is it possible to get row headers using table viewer.
>
>
>
Re: Table Viewer [message #463305 is a reply to message #463301] Thu, 08 February 2007 04:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pearl.t.gmail.com

i have just tried with grid Viewer as u have suggested.!
When iam trying to use gridviewerRow it shows error that super class
constructor not visible.
so i have prepared a grid and passed it to grid viewer.when iam setting
i/p to viewer the call is not going to getelements method in content
provider..?

can u pull me out of this?
Re: Table Viewer [message #463309 is a reply to message #463305] Thu, 08 February 2007 04:28 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

currently not. You definately have to wait until I can finish my work in
JFace area as suggested in other answers please use TableViewer for the
time being and switch over to GridViewer when the code is released to CVS.

You need to make this work in 3.3 M5 you need JFace and Nebface from
CVS-HEAD and apply the patch. Maybe you also need Nebula but I don't
thinks so and your target system configured in Eclipse has to be at
least 3.3M4 I think because JFace has dependencies against SWT-3.3.

My current setup is developing with Eclipse 3.3M4 with a checkout of the
platform-ui from CVS and Nebula/Nebface but I think there have been
minor changes to JFace HEAD so the patch won't apply any more cleanly
but I haven't tried.

Tom

pearl schrieb:
>
> i have just tried with grid Viewer as u have suggested.!
> When iam trying to use gridviewerRow it shows error that super class
> constructor not visible.
> so i have prepared a grid and passed it to grid viewer.when iam setting
> i/p to viewer the call is not going to getelements method in content
> provider..?
>
> can u pull me out of this?
>
Re: Table Viewer [message #463314 is a reply to message #463309] Thu, 08 February 2007 05:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pearl.t.gmail.com

Iam currently using eclipse 3.3 m4 only.
Frankly speaking i got a bit confused with the patches.I am not knowing
where to apply the patch.

can u kindly send the working code(with patches updated on it )of grid
viewer ,grid viewercolumn and gridviewerRow as iam falling short of time..!
Re: Table Viewer [message #463326 is a reply to message #463314] Thu, 08 February 2007 06:17 Go to previous messageGo to next message
Eclipse UserFriend
No, I can't or rather that's your own task, if I start providing sources
for every patch I create I couldn't get my real work done, not to talk
about the work I do for eclipse. Hope you understand, I can not take
care of that!

Please check out the project from Eclipse-CVS and apply the patch!

You'll need the following projects:
- org.eclipse.jface
- org.eclipse.swt.nebula (found in technology)
- org.eclipse.swt.nebula.nebface (found in technology)

And apply the patch if you have any compile time errors in jface you'd
probably need to check out all platform-ui projects!

I gave you enough pointers to fullfill the task there's nothing more I
can provide to you you now need to step up yourself, make yourself
familiar with CVS and get thing done your own my time restrictions are
not yours.

Sincerly

Tom

pearl schrieb:
>
> Iam currently using eclipse 3.3 m4 only.
> Frankly speaking i got a bit confused with the patches.I am not knowing
> where to apply the patch.
>
> can u kindly send the working code(with patches updated on it )of grid
> viewer ,grid viewercolumn and gridviewerRow as iam falling short of time..!
>
>
>
Re: Table Viewer [message #463408 is a reply to message #463314] Sun, 11 February 2007 11:30 Go to previous message
Eclipse UserFriend
Hi,

I've just updated the patch in bug 172646 to apply cleanly to
CVS-sources of M5. If you use 3.3M5 you can have to checkout:
- org.eclipse.jface
- org.eclipse.swt.nebula.nebface
- org.eclipse.swt.nebula.snippets

Apply the patch and everything should work as expected the snippets
include an GridViewer sample.

Tom

pearl schrieb:
>
> Iam currently using eclipse 3.3 m4 only.
> Frankly speaking i got a bit confused with the patches.I am not knowing
> where to apply the patch.
>
> can u kindly send the working code(with patches updated on it )of grid
> viewer ,grid viewercolumn and gridviewerRow as iam falling short of time..!
>
>
>
Previous Topic:TreeColumn variable width
Next Topic:Place the application window in the center
Goto Forum:
  


Current Time: Wed Mar 19 13:28:39 EDT 2025

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

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

Back to the top