Class SQLValuesHighlight

  • All Implemented Interfaces:
    EventListener, org.eclipse.swt.custom.LineStyleListener, org.eclipse.swt.internal.SWTEventListener

    public class SQLValuesHighlight
    extends Object
    implements org.eclipse.swt.custom.LineStyleListener
    • Constructor Detail

      • SQLValuesHighlight

        public SQLValuesHighlight()
      • SQLValuesHighlight

        public SQLValuesHighlight​(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:
        lineGetStyle in interface org.eclipse.swt.custom.LineStyleListener
      • parseBlockComments

        public void parseBlockComments​(String text)
      • getScriptStatements

        public List<org.pentaho.di.core.database.SqlScriptStatement> getScriptStatements()
        Returns:
        the scriptStatements
      • setScriptStatements

        public void setScriptStatements​(List<org.pentaho.di.core.database.SqlScriptStatement> scriptStatements)
        Parameters:
        scriptStatements - the scriptStatements to set
      • addKeyWords

        public void addKeyWords​(String[] reservedWords)