|
Re: TableViewer doest not show data [message #438206 is a reply to message #438205] |
Thu, 17 June 2004 10:55 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02524 seconds