Uses of Interface
org.eclipse.core.resources.IMarker
Package
Description
Provides basic support for managing a workspace and
its resources.
Provides APIs for integrating application models with the workspace
Provides support for launching programs, breakpoint management, expression management,
and debug events.
Defines interfaces for debug model elements, source lookup, and launching.
Provides a set of actions related to running and debugging applications.
Classes and interface required to contribute search dialog pages and search result view pages.
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
APIs for the IDE-specific portion of the Eclipse Platform User Interface.
APIs that provide undo and redo behavior for operations that manipulate
the workspace.
Provides a framework for text editors obeying to the
desktop rules.
Utility classes for working with markers in views
Provides the standard Task List view for displaying
tasks and problem annotations on resources.
-
Uses of IMarker in org.eclipse.core.resources
Modifier and TypeMethodDescriptionIResource.createMarker
(String type) Creates and returns the marker with the specified type on this resource.default IMarker
IResource.createMarker
(String type, Map<String, ? extends Object> attributes) Creates and returns the marker with the specified type on this resource.IResource.findMarker
(long id) Returns the marker with the specified id on this resource, Returnsnull
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.IMarkerDelta.getMarker()
Returns the marker described by this change.IResource.getMarker
(long id) Returns a marker handle with the given id on this resource.Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionIMarker[]
ResourceMapping.findMarkers
(String type, boolean includeSubtypes, IProgressMonitor monitor) Returns all markers of the specified type on the resources in this mapping.IMarker[]
ResourceTraversal.findMarkers
(String type, boolean includeSubtypes) Returns all markers of the specified type on existing resources in this traversal. -
Uses of IMarker in org.eclipse.debug.core
Modifier and TypeMethodDescriptionIBreakpointManager.getBreakpoint
(IMarker marker) Returns the breakpoint associated with the given marker ornull
if no such breakpoint exists -
Uses of IMarker in org.eclipse.debug.core.model
Modifier and TypeMethodDescriptionprotected IMarker
Breakpoint.ensureMarker()
Returns the marker associated with this breakpoint.Breakpoint.getMarker()
IBreakpoint.getMarker()
Returns the marker associated with this breakpoint, ornull
if no marker is associated with this breakpoint.Modifier and TypeMethodDescriptionprotected boolean
LaunchConfigurationDelegate.isLaunchProblem
(IMarker problemMarker) Returns whether the given problem should potentially abort the launch.void
void
Sets the marker associated with this breakpoint. -
Uses of IMarker in org.eclipse.debug.ui.actions
Modifier and TypeMethodDescriptionprotected IMarker
ImportBreakpointsOperation.findExistingMarker
(Map<String, Object> attributes, IBreakpointImportParticipant[] participants) Returns a marker backing an existing breakpoint based on the given set of breakpoint attributesModifier and TypeMethodDescriptionprotected void
ImportBreakpointsOperation.restoreBreakpoint
(IMarker marker, Map<String, Object> 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
Modifier and TypeMethodDescriptionISearchResultViewEntry.getSelectedMarker()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the selected marker of this entry, or the first one if no marker is selected.Modifier and TypeMethodDescriptionvoid
ISearchResultView.addMatch
(String description, Object groupByKey, IResource resource, IMarker marker) Deprecated, for removal: This API element is subject to removal in a future version.Informs the view that a match has been found.IGroupByKeyComputer.computeGroupByKey
(IMarker marker) Deprecated, for removal: This API element is subject to removal in a future version.Computes and returns key by which the given marker is grouped. -
Uses of IMarker in org.eclipse.ui
Modifier and TypeMethodDescriptionReturns a help context id for the given marker ornull
if no help has been registered for the marker.IMarkerHelpContextProvider.getHelpContextForMarker
(IMarker marker) Get the help context for the given marker.IMarkerHelpRegistry.getResolutions
(IMarker marker) Returns an array of resolutions for the given marker.IMarkerResolutionGenerator.getResolutions
(IMarker marker) Returns resolutions for the given marker (may be empty).boolean
IMarkerHelpContextProvider.hasHelpContextForMarker
(IMarker marker) Whether this provider may have a context for the given marker.boolean
IMarkerHelpRegistry.hasResolutions
(IMarker marker) Returnsfalse
if there are no resolutions for the given marker.boolean
IMarkerResolutionGenerator2.hasResolutions
(IMarker marker) Returns whether there are any resolutions for the given marker.void
Runs this resolution. -
Uses of IMarker in org.eclipse.ui.ide
Modifier and TypeMethodDescriptionstatic 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
ModifierConstructorDescriptionDeleteMarkersOperation
(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
Modifier and TypeMethodDescriptionprotected final IMarker
SelectMarkerRulerAction.chooseMarker
(List<? extends IMarker> markers) Chooses the marker with the highest layer.SimpleMarkerAnnotation.getMarker()
Returns this annotation's underlying marker.protected abstract IMarker[]
AbstractMarkerAnnotationModel.retrieveMarkers()
Retrieves all markers from this model.protected IMarker[]
ResourceMarkerAnnotationModel.retrieveMarkers()
Modifier and TypeMethodDescriptionMarkerRulerAction.getMarkers()
Returns all markers which include the ruler's line of activity.SelectMarkerRulerAction.getMarkers()
Returns all markers which include the ruler's line of activity.Modifier and TypeMethodDescriptionprotected final 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 abstract void
AbstractMarkerAnnotationModel.deleteMarkers
(IMarker[] markers) Deletes the given markers from this model.protected void
ResourceMarkerAnnotationModel.deleteMarkers
(IMarker[] markers) 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.final MarkerAnnotation
AbstractMarkerAnnotationModel.getMarkerAnnotation
(IMarker marker) Returns this model's annotation for the given marker.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 ornull
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.void
AbstractDecoratedTextEditor.gotoMarker
(IMarker marker) Deprecated.visibility will be reduced, usegetAdapter(IGotoMarker.class) for accessing this method
protected abstract boolean
AbstractMarkerAnnotationModel.isAcceptable
(IMarker marker) Determines whether the marker is acceptable as an addition to this model.protected boolean
ResourceMarkerAnnotationModel.isAcceptable
(IMarker marker) 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 final 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
(IMarker marker, IDocument document, Position position) Deprecated.useupdateMarker(IDocument, IMarker, Position)
instead.boolean
AbstractMarkerAnnotationModel.updateMarker
(IDocument document, IMarker marker, Position position) Updates the given marker according to the given position in the given document.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.Modifier and TypeMethodDescriptionprotected final IMarker
SelectMarkerRulerAction.chooseMarker
(List<? extends IMarker> markers) Chooses the marker with the highest layer.protected void
MarkerRulerAction.removeMarkers
(List<? extends IMarker> markers) Removes the given markers.ModifierConstructorDescriptionMarkerAnnotation
(String annotationType, IMarker marker) Creates a new annotation of the given type for the given marker.MarkerAnnotation
(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.SimpleMarkerAnnotation
(IMarker marker) Creates a new annotation for the given marker. -
Uses of IMarker in org.eclipse.ui.views.markers
Modifier and TypeMethodDescriptionabstract IMarker[]
WorkbenchMarkerResolution.findOtherMarkers
(IMarker[] markers) Iterate through the list of supplied markers.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.Modifier and TypeMethodDescriptionabstract IMarker[]
WorkbenchMarkerResolution.findOtherMarkers
(IMarker[] markers) Iterate through the list of supplied markers.static String
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.static boolean
MarkerViewUtil.showMarkers
(IWorkbenchPage page, IMarker[] markers, boolean showView) Shows the given markers in the appropriate view for the first marker in the given page. -
Uses of IMarker in org.eclipse.ui.views.tasklist
Modifier and TypeMethodDescriptionTaskPropertiesDialog.getMarker()
Returns the marker being created or modified.
IAnnotationPresentation