Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Viewers
Viewers [message #461264] Mon, 08 January 2007 07:32 Go to next message
Eclipse UserFriend
is there anything as grid viewer?
previously i was using nebula grid ,but i need to switch over to a viewer.


I cannot use table viewer ,bcause it dosent support rowheaders ,which i
mostly
need.?

I need to create a grid like structure with row headers and column headers
using a viewer?

can anyone help me out in this..?
Re: Viewers [message #461266 is a reply to message #461264] Mon, 08 January 2007 07:50 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Well JFace in 3.3 opened its API to allow external components to use it
easily to provide implementations for their widgets. The current problem
of Nebula is that the JFace API is not stable yet (API freeze is M5) and
a subject to change even in the next few weeks. Nebula is always going
to be one step behind because of this.

The history for AbstractTableViewer can be read in the following bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=154329

AbstractTableViewer is certainly the class who has to be subclassed and
I think Chris already has a working solution but is waiting for
potential API-Changes mentioned in the following bugs:

- https://bugs.eclipse.org/bugs/show_bug.cgi?id=167325
will break current API

- https://bugs.eclipse.org/bugs/show_bug.cgi?id=151295
adds new feature which maybe has to be reimplemented by Nebula

- https://bugs.eclipse.org/bugs/show_bug.cgi?id=167323
Provide a subclassable AbstractTreeViewer for Nebula

But Chris can certainly tell you more about the whole thing (at least
for the Nebface-Implementations). If you need informations on JFace I'm
certainly the one to ask because all the code providing those new
features and has been contributed by me. I hope I can get all the
mentioned stuff in for 3.3M5 but I can't promise because it's not my
decision ;-)

If you ask me, JFace provides so many new features for editing and MVC
concepts in 3.3 that together with Nebula's widgets it will push Eclipse
in 3.3 a big step forward no matter if you use the native widgets or
custom drawn ones like those from Nebula.

Feel free to ask questions provide ideas for new classes, ... .

Tom

krishna schrieb:
> is there anything as grid viewer?
> previously i was using nebula grid ,but i need to switch over to a viewer.
>
>
> I cannot use table viewer ,bcause it dosent support rowheaders ,which i
> mostly
> need.?
>
> I need to create a grid like structure with row headers and column
> headers using a viewer?
>
> can anyone help me out in this..?
>
Re: Viewers [message #461309 is a reply to message #461266] Tue, 09 January 2007 04:32 Go to previous message
Eclipse UserFriend
I had to use a viewer because while constructing a GUI ,i need to follow
the mvc pattern.The content ,label and service provider stuff.

These cannot be attained while using a SWT component like nebula grid!

I can use table viewer but it dosent support my gui functionality like row
headers etc.

if i use the grid which serves all my GUI functinality ,it cannot be
registered for Iselectionprovider .

There can be one way though.!My grid has to implement the
iselectionprovider and provide the implementation for it.

can any one of u help me out in this..?can u provide a sample snippet of
how to provide implementation for iselectionprovider..or , or is it better
i go with gridviewer ..?
Previous Topic:Modal ViewPart's in a Perspective???
Next Topic:Manage configuration file
Goto Forum:
  


Current Time: Sat Mar 22 09:14:51 EDT 2025

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

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

Back to the top