|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.sqltools.sqleditor.internal.utils.SQLWordPartDetector
public class SQLWordPartDetector
This class is used to scan for SQL keywords in a document.
| Constructor Summary | |
|---|---|
SQLWordPartDetector(org.eclipse.jface.text.ITextViewer viewer,
int documentOffset)
Constructs an instance of this class with the given text viewer and document offset. |
|
| Method Summary | |
|---|---|
int |
getOffset()
Gets the current document offset. |
java.lang.String |
getString()
Gets the current word part from the document. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLWordPartDetector(org.eclipse.jface.text.ITextViewer viewer,
int documentOffset)
viewer - text viewer for the documentdocumentOffset - offset into the SQL document| Method Detail |
|---|
public java.lang.String getString()
public int getOffset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||