org.eclipse.xtext.ui.util
Class IssueUtil
java.lang.Object
org.eclipse.xtext.ui.util.IssueUtil
public class IssueUtil
- extends java.lang.Object
- Author:
- Heiko Behrens - Initial contribution and API
Method Summary |
Issue |
createIssue(org.eclipse.core.resources.IMarker marker)
|
protected CheckType |
getCheckType(org.eclipse.core.resources.IMarker marker)
|
java.lang.String |
getCode(org.eclipse.jface.text.source.Annotation annotation)
|
java.lang.String |
getCode(org.eclipse.core.resources.IMarker marker)
|
java.lang.String[] |
getIssueData(org.eclipse.jface.text.source.Annotation annotation)
|
java.lang.String[] |
getIssueData(org.eclipse.core.resources.IMarker marker)
|
Issue |
getIssueFromAnnotation(org.eclipse.jface.text.source.Annotation annotation)
|
Severity |
getSeverity(org.eclipse.core.resources.IMarker marker)
|
org.eclipse.emf.common.util.URI |
getUriToProblem(org.eclipse.jface.text.source.Annotation annotation)
|
org.eclipse.emf.common.util.URI |
getUriToProblem(org.eclipse.core.resources.IMarker marker)
|
boolean |
refersToSameIssue(org.eclipse.core.resources.IMarker marker,
org.eclipse.jface.text.source.Annotation annotation)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssueUtil
public IssueUtil()
createIssue
public Issue createIssue(org.eclipse.core.resources.IMarker marker)
getCheckType
protected CheckType getCheckType(org.eclipse.core.resources.IMarker marker)
- Since:
- 2.3
getIssueFromAnnotation
public Issue getIssueFromAnnotation(org.eclipse.jface.text.source.Annotation annotation)
getCode
public java.lang.String getCode(org.eclipse.jface.text.source.Annotation annotation)
getCode
public java.lang.String getCode(org.eclipse.core.resources.IMarker marker)
getIssueData
public java.lang.String[] getIssueData(org.eclipse.jface.text.source.Annotation annotation)
getIssueData
public java.lang.String[] getIssueData(org.eclipse.core.resources.IMarker marker)
getUriToProblem
public org.eclipse.emf.common.util.URI getUriToProblem(org.eclipse.core.resources.IMarker marker)
getUriToProblem
public org.eclipse.emf.common.util.URI getUriToProblem(org.eclipse.jface.text.source.Annotation annotation)
getSeverity
public Severity getSeverity(org.eclipse.core.resources.IMarker marker)
refersToSameIssue
public boolean refersToSameIssue(org.eclipse.core.resources.IMarker marker,
org.eclipse.jface.text.source.Annotation annotation)