org.ocopomo.simulationanalysistool.editors
Class AnnotationScanner

java.lang.Object
  extended by org.ocopomo.simulationanalysistool.editors.AnnotationScanner
All Implemented Interfaces:
org.eclipse.jface.text.rules.ITokenScanner

public class AnnotationScanner
extends java.lang.Object
implements org.eclipse.jface.text.rules.ITokenScanner


Constructor Summary
AnnotationScanner(ColorManager colorManager, java.lang.String filePath)
           
 
Method Summary
 int getTokenLength()
           
 int getTokenOffset()
           
 org.eclipse.jface.text.rules.IToken nextToken()
           
 void setRange(org.eclipse.jface.text.IDocument document, int offset, int length)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationScanner

public AnnotationScanner(ColorManager colorManager,
                         java.lang.String filePath)
Method Detail

setRange

public void setRange(org.eclipse.jface.text.IDocument document,
                     int offset,
                     int length)
Specified by:
setRange in interface org.eclipse.jface.text.rules.ITokenScanner

nextToken

public org.eclipse.jface.text.rules.IToken nextToken()
Specified by:
nextToken in interface org.eclipse.jface.text.rules.ITokenScanner

getTokenOffset

public int getTokenOffset()
Specified by:
getTokenOffset in interface org.eclipse.jface.text.rules.ITokenScanner

getTokenLength

public int getTokenLength()
Specified by:
getTokenLength in interface org.eclipse.jface.text.rules.ITokenScanner