Eclipse Platform Release 3.7

## Uses of Interface
org.eclipse.core.resources.IMarker

Packages that use IMarker
org.eclipse.core.resources: Provides basic support for managing a workspace and its resources.
org.eclipse.core.resources.mapping: Provides APIs for integrating application models with the workspace Package Specification This package specifies the APIs in the Resources plug-in that are used to integrate application models with the workspace.
org.eclipse.debug.core: Provides support for launching programs, breakpoint management, expression management, and debug events.
org.eclipse.debug.core.model: Defines interfaces for debug model elements, source lookup, and launching.
org.eclipse.debug.ui.actions: Provides a set of actions related to running and debugging applications.
org.eclipse.search.ui: Classes and interface required to contribute search dialog pages and search result view pages.
org.eclipse.ui: Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.
org.eclipse.ui.ide: APIs for the IDE-specific portion of the Eclipse Platform User Interface.
org.eclipse.ui.ide.undo: APIs that provide undo and redo behavior for operations that manipulate the workspace.
org.eclipse.ui.texteditor: Provides a framework for text editors obeying to the desktop rules.
org.eclipse.ui.views.bookmarkexplorer: Provides the standard Bookmarks view which displays bookmarks on resources.
org.eclipse.ui.views.markers: Utility classes for working with markers in views
org.eclipse.ui.views.tasklist: Provides the standard Task List view for displaying tasks and problem annotations on resources.

Uses of IMarker in org.eclipse.core.resources

Methods in org.eclipse.core.resources that return IMarker
`IMarker` `IResource.createMarker(String type)` Creates and returns the marker with the specified type on this resource.
`IMarker` `IResource.findMarker(long id)` Returns the marker with the specified id on this resource, Returns `null` if there is no matching marker.
`IMarker[]` `IResource.findMarkers(String type, boolean includeSubtypes, int depth)` Returns all markers of the specified type on this resource, and, optionally, on its children.
`IMarker` `IMarkerDelta.getMarker()` Returns the marker described by this change.
`IMarker` `IResource.getMarker(long id)` Returns a marker handle with the given id on this resource.

Methods in org.eclipse.core.resources with parameters of type IMarker
`void` `IWorkspace.deleteMarkers(IMarker[] markers)` Removes the given markers from the resources with which they are associated.

Uses of IMarker in org.eclipse.core.resources.mapping

Methods in org.eclipse.core.resources.mapping that return IMarker
`IMarker[]` `ResourceTraversal.findMarkers(String type, boolean includeSubtypes)` Returns all markers of the specified type on existing resources in this traversal.
`IMarker[]` `ResourceMapping.findMarkers(String type, boolean includeSubtypes, IProgressMonitor monitor)` Returns all markers of the specified type on the resources in this mapping.

Uses of IMarker in org.eclipse.debug.core

Methods in org.eclipse.debug.core with parameters of type IMarker
`IBreakpoint` `IBreakpointManager.getBreakpoint(IMarker marker)` Returns the breakpoint associated with the given marker or `null` if no such breakpoint exists

Uses of IMarker in org.eclipse.debug.core.model

Methods in org.eclipse.debug.core.model that return IMarker
`protected IMarker` `Breakpoint.ensureMarker()` Returns the marker associated with this breakpoint.
`IMarker` `IBreakpoint.getMarker()` Returns the marker associated with this breakpoint, or `null` if no marker is associated with this breakpoint.
`IMarker` `Breakpoint.getMarker()`

Methods in org.eclipse.debug.core.model with parameters of type IMarker
`protected boolean` `LaunchConfigurationDelegate.isLaunchProblem(IMarker problemMarker)` Returns whether the given problem should potentially abort the launch.
`void` `IBreakpoint.setMarker(IMarker marker)` Sets the marker associated with this breakpoint.
`void` `Breakpoint.setMarker(IMarker marker)`

Uses of IMarker in org.eclipse.debug.ui.actions

Methods in org.eclipse.debug.ui.actions that return IMarker
`protected IMarker` `ImportBreakpointsOperation.findExistingMarker(Map attributes, IBreakpointImportParticipant[] participants)` Returns a marker backing an existing breakpoint based on the given set of breakpoint attributes

Methods in org.eclipse.debug.ui.actions with parameters of type IMarker
`protected void` `ImportBreakpointsOperation.restoreBreakpoint(IMarker marker, Map attributes, IBreakpointImportParticipant[] participants)` restores all of the attributes back into the given marker, recreates the breakpoint in the breakpoint manager, and optionally recreates any working set(s) the breakpoint belongs to.

Uses of IMarker in org.eclipse.search.ui

Methods in org.eclipse.search.ui that return IMarker
`IMarker` `ISearchResultViewEntry.getSelectedMarker()` Deprecated. Returns the selected marker of this entry, or the first one if no marker is selected.

Methods in org.eclipse.search.ui with parameters of type IMarker
`void` `ISearchResultView.addMatch(String description, Object groupByKey, IResource resource, IMarker marker)` Deprecated. Informs the view that a match has been found.
`Object` `IGroupByKeyComputer.computeGroupByKey(IMarker marker)` Deprecated. Computes and returns key by which the given marker is grouped.

Uses of IMarker in org.eclipse.ui

Methods in org.eclipse.ui with parameters of type IMarker
`String` `IMarkerHelpRegistry.getHelp(IMarker marker)` Returns a help context id for the given marker or `null` if no help has been registered for the marker.
`IMarkerResolution[]` `IMarkerResolutionGenerator.getResolutions(IMarker marker)` Returns resolutions for the given marker (may be empty).
`IMarkerResolution[]` `IMarkerHelpRegistry.getResolutions(IMarker marker)` Returns an array of resolutions for the given marker.
`boolean` `IMarkerResolutionGenerator2.hasResolutions(IMarker marker)` Returns whether there are any resolutions for the given marker.
`boolean` `IMarkerHelpRegistry.hasResolutions(IMarker marker)` Returns `false` if there are no resolutions for the given marker.
`void` `IMarkerResolution.run(IMarker marker)` Runs this resolution.

Uses of IMarker in org.eclipse.ui.ide

Methods in org.eclipse.ui.ide with parameters of type IMarker
`static void` `IDE.gotoMarker(IEditorPart editor, IMarker marker)` Sets the cursor and selection state for the given editor to reveal the position of the given marker.
`void` `IGotoMarker.gotoMarker(IMarker marker)` Sets the cursor and selection state for an editor to reveal the position of the given marker.
`static IEditorPart` `IDE.openEditor(IWorkbenchPage page, IMarker marker)` Opens an editor on the file resource of the given marker.
`static IEditorPart` `IDE.openEditor(IWorkbenchPage page, IMarker marker, boolean activate)` Opens an editor on the file resource of the given marker.

Uses of IMarker in org.eclipse.ui.ide.undo

Constructors in org.eclipse.ui.ide.undo with parameters of type IMarker
`DeleteMarkersOperation(IMarker[] markers, String name)` Create an undoable operation that can delete the specified markers.
`UpdateMarkersOperation(IMarker[] markers, Map attributes, String name, boolean mergeAttributes)` Create an undoable operation that updates many markers to have the same set of attributes.
`UpdateMarkersOperation(IMarker marker, Map attributes, String name, boolean mergeAttributes)` Create an undoable operation that can update the specified marker with the specified attributes.

Uses of IMarker in org.eclipse.ui.texteditor

Methods in org.eclipse.ui.texteditor that return IMarker
`protected IMarker` `SelectMarkerRulerAction.chooseMarker(List markers)` Chooses the marker with the highest layer.
`IMarker` `SimpleMarkerAnnotation.getMarker()` Returns this annotation's underlying marker.
`protected IMarker[]` `ResourceMarkerAnnotationModel.retrieveMarkers()`
`protected abstract IMarker[]` `AbstractMarkerAnnotationModel.retrieveMarkers()` Retrieves all markers from this model.

Methods in org.eclipse.ui.texteditor with parameters of type IMarker
`protected void` `AbstractMarkerAnnotationModel.addMarkerAnnotation(IMarker marker)` Creates an annotation for the given marker and adds it to this model.
`protected MarkerAnnotation` `AbstractMarkerAnnotationModel.createMarkerAnnotation(IMarker marker)` Creates a new annotation for the given marker.
`protected Position` `AbstractMarkerAnnotationModel.createPositionFromMarker(IMarker marker)` Creates and returns the character position of the given marker based on its attributes.
`protected void` `ResourceMarkerAnnotationModel.deleteMarkers(IMarker[] markers)`
`protected abstract void` `AbstractMarkerAnnotationModel.deleteMarkers(IMarker[] markers)` Deletes the given markers from this model.
`String` `AnnotationTypeLookup.getAnnotationType(IMarker marker)` Computes the annotation type that corresponds to the state of the given marker.
`static int` `MarkerUtilities.getCharEnd(IMarker marker)` Returns the ending character offset of the given marker.
`static int` `MarkerUtilities.getCharStart(IMarker marker)` Returns the starting character offset of the given marker.
`static int` `MarkerUtilities.getLineNumber(IMarker marker)` Returns the line number of the given marker.
`MarkerAnnotation` `AbstractMarkerAnnotationModel.getMarkerAnnotation(IMarker marker)` Returns this model's annotation for the given marker.
`Position` `AbstractMarkerAnnotationModel.getMarkerPosition(IMarker marker)` Returns the position known to this annotation model for the given marker.
`static String` `MarkerUtilities.getMarkerType(IMarker marker)` Returns the marker type of the given marker or `null` if the type could not be determined.
`static String` `MarkerUtilities.getMessage(IMarker marker)` Returns the message associated with the given marker.
`static int` `MarkerUtilities.getPriority(IMarker marker)` Returns the priority of the given marker.
`static int` `MarkerUtilities.getSeverity(IMarker marker)` Returns the severity of the given marker.
`protected String` `MarkerAnnotation.getUnknownImageName(IMarker marker)` Deprecated. As of 3.0, visual presentation is no longer supported, annotation with a visible presentation should implement `IAnnotationPresentation`
`void` `AbstractDecoratedTextEditor.gotoMarker(IMarker marker)` Deprecated. visibility will be reduced, use `getAdapter(IGotoMarker.class) for accessing this method`
`protected boolean` `ResourceMarkerAnnotationModel.isAcceptable(IMarker marker)`
`protected abstract boolean` `AbstractMarkerAnnotationModel.isAcceptable(IMarker marker)` Determines whether the marker is acceptable as an addition to this model.
`static boolean` `MarkerUtilities.isMarkerType(IMarker marker, String type)` Returns whether the given marker is of the given type (either directly or indirectly).
`protected void` `AbstractMarkerAnnotationModel.modifyMarkerAnnotation(IMarker marker)` Updates the annotation corresponding to the given marker which has changed in some way.
`protected void` `AbstractMarkerAnnotationModel.removeMarkerAnnotation(IMarker marker)` Removes the annotation corresponding to the given marker.
`static void` `MarkerUtilities.setCharEnd(IMarker marker, int charEnd)` Sets the ending character offset of the given marker.
`static void` `MarkerUtilities.setCharStart(IMarker marker, int charStart)` Sets the starting character offset of the given marker.
`static void` `MarkerUtilities.setLineNumber(IMarker marker, int lineNum)` Sets the line number of the given marker.
`boolean` `AbstractMarkerAnnotationModel.updateMarker(IDocument document, IMarker marker, Position position)` Updates the given marker according to the given position in the given document.
`boolean` `AbstractMarkerAnnotationModel.updateMarker(IMarker marker, IDocument document, Position position)` Deprecated. use `updateMarker(IDocument, IMarker, Position)` instead. This method will be changed to protected.
`boolean` `BasicMarkerUpdater.updateMarker(IMarker marker, IDocument document, Position position)`
`boolean` `IMarkerUpdater.updateMarker(IMarker marker, IDocument document, Position position)` Updates the given marker according to the position of the given document.

Constructors in org.eclipse.ui.texteditor with parameters of type IMarker
`MarkerAnnotation(IMarker marker)` Creates a new annotation for the given marker.
`MarkerAnnotation(String annotationType, IMarker marker)` Creates a new annotation of the given type for the given marker.
`SimpleMarkerAnnotation(IMarker marker)` Creates a new annotation for the given marker.
`SimpleMarkerAnnotation(String annotationType, IMarker marker)` Creates a new annotation of the given type for the given marker.

Uses of IMarker in org.eclipse.ui.views.bookmarkexplorer

Methods in org.eclipse.ui.views.bookmarkexplorer that return IMarker
`IMarker` `BookmarkPropertiesDialog.getMarker()` Returns the marker being created or modified.

Methods in org.eclipse.ui.views.bookmarkexplorer with parameters of type IMarker
`void` `BookmarkPropertiesDialog.setMarker(IMarker marker)` Sets the marker to show or modify.

Uses of IMarker in org.eclipse.ui.views.markers

Methods in org.eclipse.ui.views.markers that return IMarker
`abstract IMarker[]` `WorkbenchMarkerResolution.findOtherMarkers(IMarker[] markers)` Iterate through the list of supplied markers.
`IMarker` `MarkerItem.getMarker()` Return the marker for the receiver.
`IMarker[]` `MarkerViewHandler.getSelectedMarkers(ExecutionEvent event)` Get the selected markers for the receiver in the view from event.

Methods in org.eclipse.ui.views.markers with parameters of type IMarker
`abstract IMarker[]` `WorkbenchMarkerResolution.findOtherMarkers(IMarker[] markers)` Iterate through the list of supplied markers.
`static String` `MarkerViewUtil.getViewId(IMarker marker)` Returns the id of the view used to show markers of the same type as the given marker.
`void` `WorkbenchMarkerResolution.run(IMarker[] markers, IProgressMonitor monitor)` Runs this resolution.
`static boolean` `MarkerViewUtil.showMarker(IWorkbenchPage page, IMarker marker, boolean showView)` Shows the given marker in the appropriate view in the given page.

Uses of IMarker in org.eclipse.ui.views.tasklist

Methods in org.eclipse.ui.views.tasklist that return IMarker
`IMarker` `TaskPropertiesDialog.getMarker()` Returns the marker being created or modified.

Methods in org.eclipse.ui.views.tasklist with parameters of type IMarker
`void` `TaskList.edit(IMarker marker)` Deprecated. Activates the editor on the given marker.
`void` `TaskPropertiesDialog.setMarker(IMarker marker)` Sets the marker to show or modify.

Eclipse Platform Release 3.7

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.