Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
IWorkspace.deleteMarkers(IMarker[] markers)
Removes the given markers from the resources with which they are
associated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
IBreakpoint |
IBreakpointManager.getBreakpoint(IMarker marker)
Returns the breakpoint associated with the given marker or
null if no such breakpoint exists |
Modifier and Type | Method and Description |
---|---|
protected IMarker |
Breakpoint.ensureMarker()
Returns the marker associated with this breakpoint.
|
IMarker |
Breakpoint.getMarker() |
IMarker |
IBreakpoint.getMarker()
Returns the marker associated with this breakpoint, or
null if no marker is associated with this breakpoint. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
LaunchConfigurationDelegate.isLaunchProblem(IMarker problemMarker)
Returns whether the given problem should potentially abort the launch.
|
void |
Breakpoint.setMarker(IMarker marker) |
void |
IBreakpoint.setMarker(IMarker marker)
Sets the marker associated with this breakpoint.
|
Modifier and Type | Method and Description |
---|---|
protected IMarker |
ImportBreakpointsOperation.findExistingMarker(Map<String,Object> attributes,
IBreakpointImportParticipant[] participants)
Returns a marker backing an existing breakpoint based on the given set of breakpoint attributes
|
Modifier and Type | Method and Description |
---|---|
protected 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.
|
Modifier and Type | Method and Description |
---|---|
IMarker |
ISearchResultViewEntry.getSelectedMarker()
Deprecated.
Returns the selected marker of this entry, or the first one
if no marker is selected.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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[] |
IMarkerHelpRegistry.getResolutions(IMarker marker)
Returns an array of resolutions for the given marker.
|
IMarkerResolution[] |
IMarkerResolutionGenerator.getResolutions(IMarker marker)
Returns resolutions for the given marker (may
be empty).
|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected IMarker |
SelectMarkerRulerAction.chooseMarker(List markers)
Chooses the marker with the highest layer.
|
IMarker |
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 Type | Method and Description |
---|---|
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 abstract void |
AbstractMarkerAnnotationModel.deleteMarkers(IMarker[] markers)
Deletes the given markers from this model.
|
protected void |
ResourceMarkerAnnotationModel.deleteMarkers(IMarker[] markers) |
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 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 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.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
IMarker |
BookmarkPropertiesDialog.getMarker()
Returns the marker being created or modified.
|
Modifier and Type | Method and Description |
---|---|
void |
BookmarkPropertiesDialog.setMarker(IMarker marker)
Sets the marker to show or modify.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
IMarker |
TaskPropertiesDialog.getMarker()
Returns the marker being created or modified.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.