Class MDXValuesHighlight
- java.lang.Object
-
- org.pentaho.di.ui.trans.steps.olapinput.MDXValuesHighlight
-
- All Implemented Interfaces:
EventListener,org.eclipse.swt.custom.LineStyleListener,org.eclipse.swt.internal.SWTEventListener
public class MDXValuesHighlight extends Object implements org.eclipse.swt.custom.LineStyleListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classMDXValuesHighlight.JavaScannerA simple fuzzy scanner for Java
-
Constructor Summary
Constructors Constructor Description MDXValuesHighlight()MDXValuesHighlight(String[] strArrSQLFunctions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlineGetStyle(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.voidparseBlockComments(String text)
-
-
-
Field Detail
-
EOF
public static final int EOF
- See Also:
- Constant Field Values
-
EOL
public static final int EOL
- See Also:
- Constant Field Values
-
WORD
public static final int WORD
- See Also:
- Constant Field Values
-
WHITE
public static final int WHITE
- See Also:
- Constant Field Values
-
KEY
public static final int KEY
- See Also:
- Constant Field Values
-
COMMENT
public static final int COMMENT
- See Also:
- Constant Field Values
-
STRING
public static final int STRING
- See Also:
- Constant Field Values
-
OTHER
public static final int OTHER
- See Also:
- Constant Field Values
-
NUMBER
public static final int NUMBER
- See Also:
- Constant Field Values
-
FUNCTIONS
public static final int FUNCTIONS
- See Also:
- Constant Field Values
-
MAXIMUM_TOKEN
public static final int MAXIMUM_TOKEN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MDXValuesHighlight
public MDXValuesHighlight()
-
MDXValuesHighlight
public MDXValuesHighlight(String[] strArrSQLFunctions)
-
-
Method Detail
-
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:
lineGetStylein interfaceorg.eclipse.swt.custom.LineStyleListener
-
parseBlockComments
public void parseBlockComments(String text)
-
-