Class SQLValuesHighlight
java.lang.Object
org.pentaho.di.ui.trans.steps.tableinput.SQLValuesHighlight
- All Implemented Interfaces:
EventListener
,org.eclipse.swt.custom.LineStyleListener
,org.eclipse.swt.internal.SWTEventListener
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
A simple fuzzy scanner for Java -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addKeyWords
(String[] reservedWords) List<org.pentaho.di.core.database.SqlScriptStatement>
void
lineGetStyle
(org.eclipse.swt.custom.LineStyleEvent event) Event.detail line start offset (input) Event.text line text (input) LineStyleEvent.styles Enumeration of StyleRanges, need to be in order.void
parseBlockComments
(String text) void
setScriptStatements
(List<org.pentaho.di.core.database.SqlScriptStatement> scriptStatements)
-
Field Details
-
EOF
public static final int EOF- See Also:
-
EOL
public static final int EOL- See Also:
-
WORD
public static final int WORD- See Also:
-
WHITE
public static final int WHITE- See Also:
-
KEY
public static final int KEY- See Also:
-
COMMENT
public static final int COMMENT- See Also:
-
STRING
public static final int STRING- See Also:
-
OTHER
public static final int OTHER- See Also:
-
NUMBER
public static final int NUMBER- See Also:
-
FUNCTIONS
public static final int FUNCTIONS- See Also:
-
MAXIMUM_TOKEN
public static final int MAXIMUM_TOKEN- See Also:
-
-
Constructor Details
-
SQLValuesHighlight
public SQLValuesHighlight() -
SQLValuesHighlight
-
-
Method Details
-
lineGetStyle
public void lineGetStyle(org.eclipse.swt.custom.LineStyleEvent event) Event.detail line start offset (input) Event.text line text (input) LineStyleEvent.styles Enumeration of StyleRanges, need to be in order. (output) LineStyleEvent.background line background color (output)- Specified by:
lineGetStyle
in interfaceorg.eclipse.swt.custom.LineStyleListener
-
parseBlockComments
-
getScriptStatements
- Returns:
- the scriptStatements
-
setScriptStatements
public void setScriptStatements(List<org.pentaho.di.core.database.SqlScriptStatement> scriptStatements) - Parameters:
scriptStatements
- the scriptStatements to set
-
addKeyWords
-