|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMarkerFactory
A factory for creating and removing the appropriate markers against the remote resource. This is useful for adding or removing error, warning or information messages for the specified resource.
| Field Summary | |
|---|---|
static String |
COPY_RIGHT
|
static IMarkerFactory |
eINSTANCE
|
| Method Summary | |
|---|---|
void |
createMarker(Object resource,
String msg,
String id,
int severity,
int lineNumber)
Creates a marker on the remote error list. |
void |
deleteAllMarkers()
Deletes all markers on the remote error list |
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 |
|---|
static final String COPY_RIGHT
static final IMarkerFactory eINSTANCE
| Method Detail |
|---|
void createMarker(Object resource,
String msg,
String id,
int severity,
int lineNumber)
throws IllegalArgumentException
resource - resource to create the marker againstmsg - message associated with the error markerid - ID of the messageseverity - severity of the message. can be
IMarker.SEVERITY_INFO,
IMarker.SEVERITY_WARNING,
or IMarker.SEVERITY_ERROR.lineNumber - line number associated with the resource
IllegalArgumentExceptionvoid removeMarkers(Object resource)
resource - resource of interestIMarker[] getAllMarkers()
void deleteAllMarkers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||