org.radrails.db.internal.ui.editors.sql.util
Class SQLWordDetector

java.lang.Object
  extended byorg.radrails.db.internal.ui.editors.sql.util.SQLWordDetector
All Implemented Interfaces:
ISQLSyntax, org.eclipse.jface.text.rules.IWordDetector

public class SQLWordDetector
extends java.lang.Object
implements org.eclipse.jface.text.rules.IWordDetector, ISQLSyntax

Determines whether a given character is valid as part of an SQL keyword in the current context.


Field Summary
 
Fields inherited from interface org.radrails.db.internal.ui.editors.sql.ISQLSyntax
allWords, constants, functions, predicates, reservedwords, types
 
Constructor Summary
SQLWordDetector()
           
 
Method Summary
 boolean isWordPart(char c)
           
 boolean isWordStart(char c)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLWordDetector

public SQLWordDetector()
Method Detail

isWordStart

public boolean isWordStart(char c)
Specified by:
isWordStart in interface org.eclipse.jface.text.rules.IWordDetector
See Also:
IWordDetector.isWordStart(char)

isWordPart

public boolean isWordPart(char c)
Specified by:
isWordPart in interface org.eclipse.jface.text.rules.IWordDetector
See Also:
IWordDetector.isWordPart(char)