Showing "Problems" view in a RCP product [message #491929] |
Fri, 16 October 2009 15:02 |
|
Hi all,
I'm trying to show a "Problems" view in my RCP Product, just to show validation results.
The code I use is fairly simple (in my Perspective class):
public void createInitialLayout(IPageLayout layout) {
[...]
bottomRight.addView(IPageLayout.ID_PROBLEM_VIEW);
}
but I get the following error:
!ENTRY org.eclipse.ui 4 4 2009-10-16 16:59:49.187
!MESSAGE Exception in org.eclipse.ui.internal.FolderLayout.addView(String): org.eclipse.ui.PartInitException: View descriptor not found:
org.eclipse.ui.views.ProblemView
!STACK 1
org.eclipse.ui.PartInitException: View descriptor not found: org.eclipse.ui.views.ProblemView
at org.eclipse.ui.internal.FolderLayout.addView(FolderLayout.ja va:75)
[...]
Any help? Thx.
|
|
|
Re: Showing "Problems" view in a RCP product [message #492018 is a reply to message #491929] |
Sat, 17 October 2009 05:53 |
|
Hi Giovanni,
Looks like the "org.eclipse.ui.views.ProblemView" is not found.
For an example of adding a own view to an RCP application please see
here: http://www.vogella.de/articles/RichClientPlatform/article.ht ml#views
For an example of adding an existing view (error view) to an RCP
application please see here:
http://www.vogella.de/blog/2009/08/17/eclipse-rcp-error-view /
Best regards, Lars
--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter
giovanni wrote:
> Hi all,
>
> I'm trying to show a "Problems" view in my RCP Product, just to show
> validation results.
> The code I use is fairly simple (in my Perspective class):
> public void createInitialLayout(IPageLayout layout) {
> [...]
> bottomRight.addView(IPageLayout.ID_PROBLEM_VIEW);
> }
> but I get the following error:
> !ENTRY org.eclipse.ui 4 4 2009-10-16 16:59:49.187
> !MESSAGE Exception in
> org.eclipse.ui.internal.FolderLayout.addView(String):
> org.eclipse.ui.PartInitException: View descriptor not found:
> org.eclipse.ui.views.ProblemView
> !STACK 1
> org.eclipse.ui.PartInitException: View descriptor not found:
> org.eclipse.ui.views.ProblemView
> at org.eclipse.ui.internal.FolderLayout.addView(FolderLayout.ja va:75)
> [...]
>
> Any help? Thx.
|
|
|
Re: Showing "Problems" view in a RCP product [message #492031 is a reply to message #492018] |
Sat, 17 October 2009 09:44 |
|
Hi Lars,
thx for the reply and for your very useful tutorials on Eclipse; but my problem remains the same: I don't know where I can find the Problems view, which is a standard Eclipse view, not custom. I guess I have to add some kind of dependency to my application, but I don't know the right plugin in which it is located.
Best regards,
Giovanni.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03966 seconds