edu.cmu.sei.aadl.model.pluginsupport
Class LogAnalysisErrorReporter

java.lang.Object
  extended by edu.cmu.sei.aadl.model.pluginsupport.AbstractErrorReporter
      extended by edu.cmu.sei.aadl.model.pluginsupport.AbstractAnalysisErrorReporter
          extended by edu.cmu.sei.aadl.model.pluginsupport.LogAnalysisErrorReporter
All Implemented Interfaces:
AnalysisErrorReporter, ErrorReporter

public final class LogAnalysisErrorReporter
extends AbstractAnalysisErrorReporter

An analysis error reporter to sends error messages to the Eclipse "Error" view/log.

The class defines a nested class LogAnalysisErrorReporter.Factory that implements a factory.

Author:
aarong

Nested Class Summary
static class LogAnalysisErrorReporter.Factory
           
 
Field Summary
static AnalysisErrorReporterFactory factory
          TODO compatibility for Topcased 0.7: it uses the 01162006 interface
 
Fields inherited from class edu.cmu.sei.aadl.model.pluginsupport.AbstractAnalysisErrorReporter
resource
 
Method Summary
protected  void deleteMessagesImpl()
           
protected  void errorImpl(AObject where, java.lang.String message, java.lang.String[] attrs, java.lang.Object[] values)
          Actual implementation of the error method.
protected  void infoImpl(AObject where, java.lang.String message, java.lang.String[] attrs, java.lang.Object[] values)
          Actual implementation of the info method.
protected  void warningImpl(AObject where, java.lang.String message, java.lang.String[] attrs, java.lang.Object[] values)
          Actual implementation of the warning method.
 
Methods inherited from class edu.cmu.sei.aadl.model.pluginsupport.AbstractAnalysisErrorReporter
error, info, warning
 
Methods inherited from class edu.cmu.sei.aadl.model.pluginsupport.AbstractErrorReporter
deleteMessages, getNumErrors, getNumInfos, getNumMessages, getNumWarnings, incError, incInfo, incWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.cmu.sei.aadl.model.pluginsupport.ErrorReporter
deleteMessages, getNumErrors, getNumInfos, getNumMessages, getNumWarnings
 

Field Detail

factory

public static AnalysisErrorReporterFactory factory
TODO compatibility for Topcased 0.7: it uses the 01162006 interface

Method Detail

errorImpl

protected void errorImpl(AObject where,
                         java.lang.String message,
                         java.lang.String[] attrs,
                         java.lang.Object[] values)
Description copied from class: AbstractAnalysisErrorReporter
Actual implementation of the error method. It is guaranteed that

warningImpl

protected void warningImpl(AObject where,
                           java.lang.String message,
                           java.lang.String[] attrs,
                           java.lang.Object[] values)
Description copied from class: AbstractAnalysisErrorReporter
Actual implementation of the warning method. It is guaranteed that

infoImpl

protected void infoImpl(AObject where,
                        java.lang.String message,
                        java.lang.String[] attrs,
                        java.lang.Object[] values)
Description copied from class: AbstractAnalysisErrorReporter
Actual implementation of the info method. It is guaranteed that

deleteMessagesImpl

protected void deleteMessagesImpl()
Specified by:
deleteMessagesImpl in class AbstractErrorReporter