grid viewer vs table viewer [message #26896] |
Wed, 07 February 2007 13:26 |
Eclipse User |
|
|
|
Originally posted by: aishwarya.y.yahoomail.com
Hi everyone,
Iam new to viewers.To my requirement,i had to use gridviewer.
When iam using grid viewer.setInput() method the getElements method in
content provider is not being called.
where as When iam using table viewer the call is going to getElements
method .
I have set the contentprovider and label provider to my viewer..
y is this happening in this way..
if gridviewer dosent support in this way ,
can any one suggest, how to get row headers and column headers using
tableviewer.?
|
|
|
|
Re: grid viewer vs table viewer [message #26977 is a reply to message #26937] |
Wed, 07 February 2007 15:48 |
Eclipse User |
|
|
|
Originally posted by: aishwarya.y.yahoomail.com
thanks tom!
can u help me in one more problem..?
Now if i use GridViewer constructor which takes in a grid object like
public GridViewer(Grid grid){
}
For the grid which will be passed to grid viewer will have row headers
and column headers already constucted.
This implies that on a grid viewer a grid is placed with row headers and
column headers.Is it possible that now if i use content providers and
label providers now for the viewer so that the content and label are set
on the grid like the grid items..?
i thought of the above case as i need columnheaders and roe headers..!
can i achieve it in that way or can i get column headers and row headers
using gridviewercolumn and gridviewerrow classes.and actually
gridviewerRow class has some problem.it says that super class constructor
not visible..!
can u give any suggestion regarding this?
|
|
|
|
Re: grid viewer vs table viewer [message #27174 is a reply to message #27016] |
Thu, 08 February 2007 03:40 |
Eclipse User |
|
|
|
Originally posted by: aishwarya.y.yahoomail.com
I really appreciate for ur help tom!I hope gridviewer willl be finished by
next week!
For the time being i have no problem going with table viewer but is it
possible to get row headers and column headers using table viewer,as they
are my requirements.
Best Regards
Aish
|
|
|
Re: grid viewer vs table viewer [message #27213 is a reply to message #27174] |
Thu, 08 February 2007 04:06 |
Eclipse User |
|
|
|
Originally posted by: aishwarya.y.yahoomail.com
And tom one more thing when ever i try to use GridViewerRow class it shows
a error in the constructor
The constructor viewerRow(Item) is not visible..!
|
|
|
|
|
Re: grid viewer vs table viewer [message #27757 is a reply to message #27286] |
Thu, 08 February 2007 09:04 |
Eclipse User |
|
|
|
Originally posted by: aishwarya.y.yahoomail.com
i have just seen in eclipse site somewhere that target plan for M6 is
april 6..
will the stable version going to be released in april!
|
|
|
Re: grid viewer vs table viewer [message #27792 is a reply to message #27252] |
Thu, 08 February 2007 09:06 |
Eclipse User |
|
|
|
Originally posted by: aishwarya.y.yahoomail.com
can u tell do the present code in cvs for grid viewer supports content
provider and label provider..!
I mean if u set gridViewer.setInput(),will the call go to getelements
method
of content provider
|
|
|
|
|
Re: grid viewer vs table viewer [message #27911 is a reply to message #27831] |
Thu, 08 February 2007 10:19 |
Eclipse User |
|
|
|
Originally posted by: aishwarya.y.yahoomail.com
Thanks once again tom !Now iam some what clear abt ur approvals.!
Tom i would really appreciate if u give me any solution for getting my
requirement
i.e getting row headers and column headers using a viewer...?
Previously i have done it using nebula grid but the client wants me to
make the use of viewer...!
A solution will really be apppreciated as i have very less time to deliver
my application to client
|
|
|
|
|
Re: grid viewer vs table viewer [message #577518 is a reply to message #26937] |
Wed, 07 February 2007 15:48 |
Eclipse User |
|
|
|
Originally posted by: aishwarya.y.yahoomail.com
thanks tom!
can u help me in one more problem..?
Now if i use GridViewer constructor which takes in a grid object like
public GridViewer(Grid grid){
}
For the grid which will be passed to grid viewer will have row headers
and column headers already constucted.
This implies that on a grid viewer a grid is placed with row headers and
column headers.Is it possible that now if i use content providers and
label providers now for the viewer so that the content and label are set
on the grid like the grid items..?
i thought of the above case as i need columnheaders and roe headers..!
can i achieve it in that way or can i get column headers and row headers
using gridviewercolumn and gridviewerrow classes.and actually
gridviewerRow class has some problem.it says that super class constructor
not visible..!
can u give any suggestion regarding this?
|
|
|
|
Re: grid viewer vs table viewer [message #577662 is a reply to message #27016] |
Thu, 08 February 2007 03:40 |
Eclipse User |
|
|
|
Originally posted by: aishwarya.y.yahoomail.com
I really appreciate for ur help tom!I hope gridviewer willl be finished by
next week!
For the time being i have no problem going with table viewer but is it
possible to get row headers and column headers using table viewer,as they
are my requirements.
Best Regards
Aish
|
|
|
Re: grid viewer vs table viewer [message #577703 is a reply to message #27174] |
Thu, 08 February 2007 04:06 |
Eclipse User |
|
|
|
Originally posted by: aishwarya.y.yahoomail.com
And tom one more thing when ever i try to use GridViewerRow class it shows
a error in the constructor
The constructor viewerRow(Item) is not visible..!
|
|
|
|
|
Re: grid viewer vs table viewer [message #577797 is a reply to message #27286] |
Thu, 08 February 2007 09:04 |
Eclipse User |
|
|
|
Originally posted by: aishwarya.y.yahoomail.com
i have just seen in eclipse site somewhere that target plan for M6 is
april 6..
will the stable version going to be released in april!
|
|
|
Re: grid viewer vs table viewer [message #577834 is a reply to message #27252] |
Thu, 08 February 2007 09:06 |
Eclipse User |
|
|
|
Originally posted by: aishwarya.y.yahoomail.com
can u tell do the present code in cvs for grid viewer supports content
provider and label provider..!
I mean if u set gridViewer.setInput(),will the call go to getelements
method
of content provider
|
|
|
|
|
Re: grid viewer vs table viewer [message #577902 is a reply to message #27831] |
Thu, 08 February 2007 10:19 |
Eclipse User |
|
|
|
Originally posted by: aishwarya.y.yahoomail.com
Thanks once again tom !Now iam some what clear abt ur approvals.!
Tom i would really appreciate if u give me any solution for getting my
requirement
i.e getting row headers and column headers using a viewer...?
Previously i have done it using nebula grid but the client wants me to
make the use of viewer...!
A solution will really be apppreciated as i have very less time to deliver
my application to client
|
|
|
|
Powered by
FUDForum. Page generated in 0.05917 seconds