edu.cmu.sei.aadl.modelsupport.errorreporting
Class MarkerParseErrorReporter
java.lang.Object
edu.cmu.sei.aadl.modelsupport.errorreporting.AbstractErrorReporter
edu.cmu.sei.aadl.modelsupport.errorreporting.AbstractParseErrorReporter
edu.cmu.sei.aadl.modelsupport.errorreporting.MarkerParseErrorReporter
- All Implemented Interfaces:
- ErrorReporter, ParseErrorReporter
public final class MarkerParseErrorReporter
- extends AbstractParseErrorReporter
An implementation of
edu.cmu.sei.aadl.model.pluginsupport.ParseErrorReporter
that reports
errors as markers on the aadl text files. The marker type is specified via a
string identifier when the error reporter is created.
The class defines a nested class
edu.cmu.sei.aadl.model.pluginsupport.MarkerParseErrorReporter.Factory
that implements a factory.
- Author:
- aarong
Constructor Summary |
MarkerParseErrorReporter(org.eclipse.core.resources.IResource rsrc,
java.lang.String mt)
Create a new error reporter that uses the given marker types. |
Method Summary |
protected void |
deleteMessagesImpl()
|
protected void |
errorImpl(java.lang.String filename,
int line,
java.lang.String message)
|
protected void |
infoImpl(java.lang.String filename,
int line,
java.lang.String message)
|
protected void |
warningImpl(java.lang.String filename,
int line,
java.lang.String message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MarkerParseErrorReporter
public MarkerParseErrorReporter(org.eclipse.core.resources.IResource rsrc,
java.lang.String mt)
- Create a new error reporter that uses the given marker types.
Assumes that
rsrc
is not null
.
errorImpl
protected void errorImpl(java.lang.String filename,
int line,
java.lang.String message)
- Specified by:
errorImpl
in class AbstractParseErrorReporter
warningImpl
protected void warningImpl(java.lang.String filename,
int line,
java.lang.String message)
- Specified by:
warningImpl
in class AbstractParseErrorReporter
infoImpl
protected void infoImpl(java.lang.String filename,
int line,
java.lang.String message)
- Specified by:
infoImpl
in class AbstractParseErrorReporter
deleteMessagesImpl
protected void deleteMessagesImpl()
- Specified by:
deleteMessagesImpl
in class AbstractErrorReporter