Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Showing "Problems" view in a RCP product(how to show....?)
Showing "Problems" view in a RCP product [message #491929] Fri, 16 October 2009 15:02 Go to next message
Giovanni De Sossi is currently offline Giovanni De SossiFriend
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

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 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

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 Go to previous messageGo to next message
Giovanni De Sossi is currently offline Giovanni De SossiFriend
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

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.
Re: Showing "Problems" view in a RCP product [message #492036 is a reply to message #492031] Sat, 17 October 2009 11:46 Go to previous messageGo to next message
Remy Suen is currently offline Remy SuenFriend
Messages: 462
Registered: July 2009
Senior Member
On Sat, 17 Oct 2009 05:44:58 -0400, giovanni wrote:
> 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.

Plug-in Spy would do, just hover your mouse over the 'Problems' view and
invoke Alt+Shift+F1.

I would suggest you also read the following wiki page:
http://wiki.eclipse.org/
FAQ_How_do_I_find_a_particular_class_from_an_Eclipse_plug-in %3F

Regards,
Remy
Re: Showing "Problems" view in a RCP product [message #492164 is a reply to message #492036] Mon, 19 October 2009 08:27 Go to previous message
Giovanni De Sossi is currently offline Giovanni De SossiFriend
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

Hi Remy,

thank you very much, it works.

Best regards,

Giovanni.
Previous Topic:EditorPart and doSave
Next Topic:Disable Navigate Toolbar
Goto Forum:
  


Current Time: Thu Mar 28 18:22:51 GMT 2024

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

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

Back to the top