Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » TableViewer doest not show data
TableViewer doest not show data [message #438205] Thu, 17 June 2004 09:23 Go to next message
vinod is currently offline vinodFriend
Messages: 1
Registered: July 2009
Junior Member
Hello,
I have this strange problem viewing the data in JFace TableViewer. I have
provided Label Provider as well as ContentProvider to the viewer, but
still it does not shows the data associated with it.

Can any one tell me y is this happening...

Thanks
Re: TableViewer doest not show data [message #438206 is a reply to message #438205] Thu, 17 June 2004 10:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wohlgemuth.mpimp-golm.mpg.de

did you setInput()?
and your provider accepts this type of content

"vinod" <vinod_c_in@yahoo.com> wrote in message
news:carntk$ne8$1@eclipse.org...
> Hello,
> I have this strange problem viewing the data in JFace TableViewer. I have
> provided Label Provider as well as ContentProvider to the viewer, but
> still it does not shows the data associated with it.
>
> Can any one tell me y is this happening...
>
> Thanks
>
Re: TableViewer doest not show data [message #438240 is a reply to message #438206] Thu, 17 June 2004 16:45 Go to previous message
Eclipse UserFriend
Originally posted by: gtoor.pervasive.com

setInput() will invoke the getElements of the provider which in turn should
extract data from your model.
Make sure your model has been initialized (has data to display) when the
setInput() is invoked.

"gert wohlgemuth" <wohlgemuth@mpimp-golm.mpg.de> wrote in message
news:cartae$t8f$1@eclipse.org...
> did you setInput()?
> and your provider accepts this type of content
>
> "vinod" <vinod_c_in@yahoo.com> wrote in message
> news:carntk$ne8$1@eclipse.org...
> > Hello,
> > I have this strange problem viewing the data in JFace TableViewer. I
have
> > provided Label Provider as well as ContentProvider to the viewer, but
> > still it does not shows the data associated with it.
> >
> > Can any one tell me y is this happening...
> >
> > Thanks
> >
>
>
Previous Topic:SWT item control based on other event
Next Topic:Finding all Dialogs that have a given shell as their parent
Goto Forum:
  


Current Time: Thu Apr 25 19:12:24 GMT 2024

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

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

Back to the top