|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.ftt.resources.core.factory.MarkerFactory
public class MarkerFactory
The MarkerFactory can be used to attach and manage error, warning and informational messages associated with a given resource. These messages are intended to be displayed for the Remote Error List View.
| Field Summary | |
|---|---|
static String |
COPY_RIGHT
|
| Fields inherited from interface com.ibm.ftt.resources.core.IMarkerFactory |
|---|
eINSTANCE |
| Constructor Summary | |
|---|---|
MarkerFactory()
|
|
| Method Summary | |
|---|---|
void |
createMarker(Object resource,
String msg,
String id,
int severity,
int lineNumber)
Creates a marker associating the specified message with the given resource at the specified line number. |
void |
deleteAllMarkers()
Deletes all markers on the remote error list |
org.eclipse.core.resources.IMarker[] |
getAllMarkers()
Returns all markers that are available on the remote error list. |
void |
removeMarkers(Object resource)
Removes all the markers that are associated with the specified resource. |
| Field Detail |
|---|
public static final String COPY_RIGHT
| Constructor Detail |
|---|
public MarkerFactory()
| Method Detail |
|---|
public void createMarker(Object resource,
String msg,
String id,
int severity,
int lineNumber)
createMarker in interface IMarkerFactoryresource - an Object representing the resource for which a marker
is to be createdmsg - a string containing the text to be associated with the
resourceid - a string containing the id of the markerseverity - the severity of the message to be placed in the marker .. can
be IMarker.SEVERITY_INFO,
IMarker.SEVERITY_WARNING,
IMarker.SEVERITY_ERRORlineNumber - the line number of the source file associated with the markerpublic void removeMarkers(Object resource)
removeMarkers in interface IMarkerFactoryresource - an Object representing the resource for which markers are to be removedpublic void deleteAllMarkers()
IMarkerFactory
deleteAllMarkers in interface IMarkerFactorypublic org.eclipse.core.resources.IMarker[] getAllMarkers()
IMarkerFactory
getAllMarkers in interface IMarkerFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||