org.eclipse.xtext.ui.util
Class IssueUtil

java.lang.Object
  extended by org.eclipse.xtext.ui.util.IssueUtil

public class IssueUtil
extends java.lang.Object

Author:
Heiko Behrens - Initial contribution and API

Constructor Summary
IssueUtil()
           
 
Method Summary
 Issue createIssue(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
 

Constructor Detail

IssueUtil

public IssueUtil()
Method Detail

createIssue

public Issue createIssue(org.eclipse.core.resources.IMarker marker)

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)