Error has occurred when activating this view [message #460566] |
Fri, 22 December 2006 00:19  |
Eclipse User |
|
|
|
Hi,
I have written a rcp application with a perspective and a view.
In the create part control method i have commented the following lines
// viewer = new TableViewer(parent, SWT.None);
//viewer.setContentProvider(new ViewContentProvider());
// viewer.setLabelProvider(new ViewLabelProvider());
// viewer.setInput(getViewSite());
with these lines in my code ,extra white space is appearing in my view
with the view name dispalyed.evnthough iam resizing my view ,white space
is not getting removed.so i have commented the above lines ,which resolves
my problem.But now when i run my application a starange error keeps
pooping up."Error has occurred activating this view".Even though i get
this error ,i get my view correctly and i am able to perform all my
operations on it.
Can any one xplain to me y i get this error ,and how to handle it..and any
other suggestions abt how to remove the extra white space in my view.
|
|
|
|
Re: Error has occurred when activating this view [message #460643 is a reply to message #460572] |
Mon, 25 December 2006 23:41  |
Eclipse User |
|
|
|
I have nothing to do with label provider and content provider.My view will
just contain a grid with images in the cells.Iam getting that popup error
when iam commenting label provider and content provider and in viceversa
that popup vanishes..!
Eventhough i get that popup error ,i get get my view correclty except that
some irritating white space comes in the view.
I have seen in the logs ..there is no such information related to the
popup error in the log.
|
|
|
Powered by
FUDForum. Page generated in 0.02643 seconds