org.eclipse.emf.codegen.jet.editor.dyncheck
Class JETProblemAnnotation

java.lang.Object
  extended by org.eclipse.jface.text.source.Annotation
      extended by org.eclipse.emf.codegen.jet.editor.dyncheck.JETProblemAnnotation

public class JETProblemAnnotation
extends org.eclipse.jface.text.source.Annotation

A type of annotation for the errors in the JET editor.

Version:
$Revision: 1.2 $

Field Summary
 
Fields inherited from class org.eclipse.jface.text.source.Annotation
TYPE_UNKNOWN
 
Constructor Summary
JETProblemAnnotation(org.eclipse.jdt.core.compiler.IProblem problem, org.eclipse.jdt.core.ICompilationUnit cu)
          Constructor for JETProblemAnnotation.
 
Method Summary
 org.eclipse.jdt.core.ICompilationUnit getCompilationUnit()
           
 java.lang.String getText()
           
 
Methods inherited from class org.eclipse.jface.text.source.Annotation
getType, isMarkedDeleted, isPersistent, markDeleted, setText, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JETProblemAnnotation

public JETProblemAnnotation(org.eclipse.jdt.core.compiler.IProblem problem,
                            org.eclipse.jdt.core.ICompilationUnit cu)
Constructor for JETProblemAnnotation.

Parameters:
problem - IProblem
cu - ICompilationUnit
Method Detail

getText

public java.lang.String getText()
Overrides:
getText in class org.eclipse.jface.text.source.Annotation

getCompilationUnit

public org.eclipse.jdt.core.ICompilationUnit getCompilationUnit()

Copyright 2006 IBM Corporation and others.
All Rights Reserved.