|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.views.markers.MarkerViewUtil
Utility class for showing markers in the marker views.
Constructor Summary | |
---|---|
MarkerViewUtil()
|
Method Summary | |
---|---|
static String |
getViewId(IMarker marker)
Returns the id of the view used to show markers of the same type as the given marker. |
static boolean |
showMarker(IWorkbenchPage page,
IMarker marker,
boolean showView)
Shows the given marker in the appropriate view in the given page. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MarkerViewUtil()
Method Detail |
public static String getViewId(IMarker marker) throws CoreException
marker
- the marker
null
if no appropriate view could be determined
CoreException
- if an exception occurs testing the type of the markerpublic static boolean showMarker(IWorkbenchPage page, IMarker marker, boolean showView)
page
- the workbench page in which to show the markermarker
- the marker to showshowView
- true
if the view should be shown first
false
to only show the marker if the view is already showing
true
if the marker was successfully shown,
false
if not
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.