org.aspectj.org.eclipse.jdt.internal.core
Class CancelableProblemFactory

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory
      extended by org.aspectj.org.eclipse.jdt.internal.core.CancelableProblemFactory
All Implemented Interfaces:
IProblemFactory

public class CancelableProblemFactory
extends DefaultProblemFactory


Field Summary
 IProgressMonitor monitor
           
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory
messageTemplates
 
Constructor Summary
CancelableProblemFactory(IProgressMonitor monitor)
           
 
Method Summary
 CategorizedProblem createProblem(char[] originatingFileName, int problemId, java.lang.String[] problemArguments, java.lang.String[] messageArguments, int severity, int startPosition, int endPosition, int lineNumber, int columnNumber)
          Answer a new IProblem created according to the parameters value originatingFileName the name of the file name from which the problem is originated problemId the problem id problemArguments the fully qualified arguments recorded inside the problem messageArguments the arguments needed to set the error message (shorter names than problemArguments ones) severity the severity of the problem startPosition the starting position of the problem endPosition the end position of the problem lineNumber the line on which the problem occured
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.problem.DefaultProblemFactory
getLocale, getLocalizedMessage, loadMessageTemplates, localizedMessage, setLocale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

monitor

public IProgressMonitor monitor
Constructor Detail

CancelableProblemFactory

public CancelableProblemFactory(IProgressMonitor monitor)
Method Detail

createProblem

public CategorizedProblem createProblem(char[] originatingFileName,
                                        int problemId,
                                        java.lang.String[] problemArguments,
                                        java.lang.String[] messageArguments,
                                        int severity,
                                        int startPosition,
                                        int endPosition,
                                        int lineNumber,
                                        int columnNumber)
Description copied from class: DefaultProblemFactory
Answer a new IProblem created according to the parameters value

Specified by:
createProblem in interface IProblemFactory
Overrides:
createProblem in class DefaultProblemFactory
Parameters:
originatingFileName - char[]
problemId - int
problemArguments - String[]
messageArguments - String[]
severity - int
startPosition - int
endPosition - int
lineNumber - int
Returns:
CategorizedProblem