Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » grid viewer
grid viewer [message #22612] Mon, 08 January 2007 12:26 Go to next message
Eclipse UserFriend
Originally posted by: krishna_24jan.yahoomail.com

Hi ,

I was using nebula grid which is like a swt widget.
Due to some problem i have to use a viewer.While searching i have got
something like Gridviewer.I cannot use tableviewer cause table dosent
support row headers.

When i use the class GridViewer it extends BaseTableviewer.When i searched
in j face directory structure i dint find any class as
BaseTableViewer.While searching i again found out that its name is changed
to AbstarctTableViewer.can any one throw some light in this issue?

if i use abstarctableViewer as the class for GridViewer to extend it asks
for some more methods to be overridden.How will this impact..?
Re: grid viewer [message #22656 is a reply to message #22612] Mon, 08 January 2007 12:48 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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:
> Hi ,
>
> I was using nebula grid which is like a swt widget.
> Due to some problem i have to use a viewer.While searching i have got
> something like Gridviewer.I cannot use tableviewer cause table dosent
> support row headers.
>
> When i use the class GridViewer it extends BaseTableviewer.When i
> searched in j face directory structure i dint find any class as
> BaseTableViewer.While searching i again found out that its name is
> changed to AbstarctTableViewer.can any one throw some light in this issue?
>
> if i use abstarctableViewer as the class for GridViewer to extend it
> asks for some more methods to be overridden.How will this impact..?
>
>
>
>
>
Re: grid viewer [message #22918 is a reply to message #22656] Mon, 08 January 2007 14:36 Go to previous messageGo to next message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
The grid viewer is under active development and will likely be released
very soon. I'm just real busy right now.

> 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.
Agreed 100%. Kudos to all the work you've done in JFace Tom. I think
you've made a big difference.

-Chris
Re: grid viewer [message #23130 is a reply to message #22656] Tue, 09 January 2007 09:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: krishna_24jan.yahoomail.com

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 ..?
Re: grid viewer [message #23171 is a reply to message #23130] Tue, 09 January 2007 09:43 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

Please wait for GridViewer to be ready it will be the best choice IMHO
because you get many features new in 3.3 for free. If you need a
solution tomorrow you need to implement the viewer your own but then you
won't profit from the great new things mentioned in my last mail.

Tom

krishna schrieb:
> 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 ..?
Re: grid viewer [message #23271 is a reply to message #23171] Wed, 10 January 2007 11:38 Go to previous message
kris is currently offline krisFriend
Messages: 14
Registered: July 2009
Junior Member
Hi,

can u tell when will be the grid viewer officially be released..?

and also i would appreciate if u can send me some sample snippets on how
to implement the viewer for my swt component.
Re: grid viewer [message #574403 is a reply to message #22612] Mon, 08 January 2007 12:48 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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:
> Hi ,
>
> I was using nebula grid which is like a swt widget.
> Due to some problem i have to use a viewer.While searching i have got
> something like Gridviewer.I cannot use tableviewer cause table dosent
> support row headers.
>
> When i use the class GridViewer it extends BaseTableviewer.When i
> searched in j face directory structure i dint find any class as
> BaseTableViewer.While searching i again found out that its name is
> changed to AbstarctTableViewer.can any one throw some light in this issue?
>
> if i use abstarctableViewer as the class for GridViewer to extend it
> asks for some more methods to be overridden.How will this impact..?
>
>
>
>
>
Re: grid viewer [message #574627 is a reply to message #22656] Mon, 08 January 2007 14:36 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
The grid viewer is under active development and will likely be released
very soon. I'm just real busy right now.

> 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.
Agreed 100%. Kudos to all the work you've done in JFace Tom. I think
you've made a big difference.

-Chris
Re: grid viewer [message #574761 is a reply to message #22656] Tue, 09 January 2007 09:28 Go to previous message
krishna is currently offline krishnaFriend
Messages: 48
Registered: July 2009
Member
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 ..?
Re: grid viewer [message #574787 is a reply to message #23130] Tue, 09 January 2007 09:43 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

Please wait for GridViewer to be ready it will be the best choice IMHO
because you get many features new in 3.3 for free. If you need a
solution tomorrow you need to implement the viewer your own but then you
won't profit from the great new things mentioned in my last mail.

Tom

krishna schrieb:
> 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 ..?
Re: grid viewer [message #574809 is a reply to message #23171] Wed, 10 January 2007 11:38 Go to previous message
kris is currently offline krisFriend
Messages: 14
Registered: July 2009
Junior Member
Hi,

can u tell when will be the grid viewer officially be released..?

and also i would appreciate if u can send me some sample snippets on how
to implement the viewer for my swt component.
Previous Topic:CDateTime
Next Topic:Selection event from grid when checking check box.
Goto Forum:
  


Current Time: Fri Apr 19 23:43:29 GMT 2024

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

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

Back to the top