org.radrails.rails.internal.ui.editors.js
Class JavascriptCommentScanner

java.lang.Object
  extended byorg.eclipse.jface.text.rules.RuleBasedScanner
      extended byorg.radrails.rails.internal.ui.editors.js.JavascriptCommentScanner
All Implemented Interfaces:
org.eclipse.jface.text.rules.ICharacterScanner, IEditorPropertyChangeListener, org.eclipse.jface.text.rules.ITokenScanner

public class JavascriptCommentScanner
extends org.eclipse.jface.text.rules.RuleBasedScanner
implements IEditorPropertyChangeListener


Field Summary
 
Fields inherited from interface org.eclipse.jface.text.rules.ICharacterScanner
EOF
 
Method Summary
 void applyPropertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
          Apply the property change as appropriate.
static JavascriptCommentScanner getInstance()
           
 
Methods inherited from class org.eclipse.jface.text.rules.RuleBasedScanner
getColumn, getLegalLineDelimiters, getTokenLength, getTokenOffset, nextToken, read, setDefaultReturnToken, setRange, setRules, unread
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static JavascriptCommentScanner getInstance()
Returns:
the singleton instance of the scanner

applyPropertyChange

public void applyPropertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
Description copied from interface: IEditorPropertyChangeListener
Apply the property change as appropriate.

Specified by:
applyPropertyChange in interface IEditorPropertyChangeListener
Parameters:
event - the event describing the property change