public class CancelableProblemFactory extends DefaultProblemFactory
| Modifier and Type | Field and Description |
|---|---|
IProgressMonitor |
monitor |
messageTemplates| Constructor and Description |
|---|
CancelableProblemFactory(IProgressMonitor monitor) |
| Modifier and Type | Method and Description |
|---|---|
CategorizedProblem |
createProblem(char[] originatingFileName,
int problemId,
java.lang.String[] problemArguments,
int elaborationId,
java.lang.String[] messageArguments,
int severity,
int startPosition,
int endPosition,
int lineNumber,
int columnNumber)
Answer a new IProblem created according to the parameters values.
|
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
|
getLocale, getLocalizedMessage, getLocalizedMessage, loadMessageTemplates, localizedMessage, setLocalepublic CancelableProblemFactory(IProgressMonitor monitor)
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)
DefaultProblemFactorycreateProblem in interface IProblemFactorycreateProblem in class DefaultProblemFactoryoriginatingFileName - char[]problemId - intproblemArguments - String[]messageArguments - String[]severity - intstartPosition - intendPosition - intlineNumber - intpublic CategorizedProblem createProblem(char[] originatingFileName, int problemId, java.lang.String[] problemArguments, int elaborationId, java.lang.String[] messageArguments, int severity, int startPosition, int endPosition, int lineNumber, int columnNumber)
IProblemFactorycreateProblem in interface IProblemFactorycreateProblem in class DefaultProblemFactoryoriginatingFileName - the name of the file from which the problem is originatedproblemId - the problem idproblemArguments - the fully qualified arguments recorded inside the problemelaborationId - the message elaboration id (0 for problems that have no message elaboration)messageArguments - the arguments needed to set the error message (shorter names than problemArguments ones)severity - the severity of the problemstartPosition - the start position of the problemendPosition - the end position of the problemlineNumber - the line on which the problem occurred