|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmf.runtime.common.core.service.AbstractProvider
org.eclipse.gmf.runtime.common.core.service.Service
org.eclipse.gmf.runtime.common.ui.services.marker.MarkerNavigationService
public class MarkerNavigationService
This service is the distribution point for "gotoMarker" requests made by Eclipse to an IEditorPart. In all editors, the implementation of the gotoMarker() method simply forwards the request to this service.
Marker navigation providers are chosen based upon priority and the list of marker types they support.
Nested Class Summary | |
---|---|
protected static class |
MarkerNavigationService.MarkerNavigationProviderDescriptor
Marker Navigation Provider Descriptor. |
Nested classes/interfaces inherited from class org.eclipse.gmf.runtime.common.core.service.Service |
---|
Service.ProviderDescriptor |
Field Summary |
---|
Fields inherited from class org.eclipse.gmf.runtime.common.core.service.Service |
---|
INVALID_ELEMENT_MESSAGE_PATTERN |
Constructor Summary | |
---|---|
protected |
MarkerNavigationService()
The MarkerNavigationService constructor |
Method Summary | |
---|---|
static MarkerNavigationService |
getInstance()
Gets the instance of MarkerNavigationService |
void |
gotoMarker(IEditorPart editor,
IMarker marker)
Perform the navigation to a marker in the associated editor. |
protected Service.ProviderDescriptor |
newProviderDescriptor(IConfigurationElement element)
Creates a new provider descriptor for the specified configuration element . |
Methods inherited from class org.eclipse.gmf.runtime.common.core.service.Service |
---|
addProvider, clearCache, configureProviders, configureProviders, createPriorityCache, execute, executeUnique, getAllProviders, getCachingKey, getPriority, getProviders, isOptimistic, isOptimized, providerChanged, provides, provides, removeProvider |
Methods inherited from class org.eclipse.gmf.runtime.common.core.service.AbstractProvider |
---|
addProviderChangeListener, fireProviderChange, removeProviderChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.gmf.runtime.common.core.service.IProvider |
---|
addProviderChangeListener, provides, removeProviderChangeListener |
Constructor Detail |
---|
protected MarkerNavigationService()
Method Detail |
---|
protected Service.ProviderDescriptor newProviderDescriptor(IConfigurationElement element)
Service
element
.
newProviderDescriptor
in class Service
element
- The configuration element from which to create the descriptor.
public static MarkerNavigationService getInstance()
instance
variablepublic void gotoMarker(IEditorPart editor, IMarker marker)
gotoMarker
in interface org.eclipse.gmf.runtime.common.ui.services.internal.marker.IMarkerNavigationProvider
editor
- the editor opened with the associated resourcemarker
- the marker referenceIMarkerNavigationProvider.gotoMarker(org.eclipse.ui.IEditorPart,
org.eclipse.core.resources.IMarker)
|
Runtime | |||||||||
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., Borland Software Corp., and others 2005,2006. All rights reserved.