Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] ProblemView


Hi Dawn,

The Eclipse mailing lists are meant for development issues related to the Eclipse platform. In the future please ask this type of question in the newsgroup.

The Eclipse WTP project's XML validator performs the action you are looking to perform. It just asks the workbench page to display the view.


IWorkbenchWindow dw = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
IWorkbenchPage page = dw.getActivePage();
IWorkbenchPart activePart = page.getActivePart();
try
{
 if (page != null)
 {
   page.showView("org.eclipse.ui.views.ProblemView");
 }
}
catch (PartInitException e)
{
}
page.activate(activePart);


Lawrence




Farrah Reed <fdreed@xxxxxxxxx>
Sent by: eclipse-dev-bounces@xxxxxxxxxxx

04/06/2005 12:48 PM

Please respond to
"General development mailing list of the Eclipse project."

To
eclipse-dev@xxxxxxxxxxx
cc
Subject
[eclipse-dev] ProblemView





Hello - I am developing a development environment
using eclipse. When there is a compiler error, the
problem view does not automatically pop up. The user
has to go to Window->Show View->Problems. I would like
to cause this view to automatically pop up when there
are compiler errors. How can I make a call to force
this view to come up.

Thank You
Dawn
_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev


Back to the top