Class BslQueryWizardUtils


  • public class BslQueryWizardUtils
    extends Object
    Services methods for query wizard handlers
    • Constructor Detail

      • BslQueryWizardUtils

        public BslQueryWizardUtils()
    • Method Detail

      • openQueryWizard

        public static void openQueryWizard​(org.eclipse.core.commands.ExecutionEvent event,
                                           int mode)
        Open query wizard from bsl module
        Parameters:
        event - - ExecutionEvent, cannot be null
        mode - - open mode from QueryWizardMode
      • openQueryEditor

        public static void openQueryEditor​(org.eclipse.core.commands.ExecutionEvent event)
        Open query editor from bsl module
        Parameters:
        event - - ExecutionEvent, cannot be null
      • formatForBsl

        public static String formatForBsl​(String content,
                                          int offset,
                                          org.eclipse.jface.text.IDocument doc)
        Format query text for Bsl
        Parameters:
        content - - query text, cannot be null
        offset - - query text offset from document begin
        doc - - document with query, cannot be null
        Returns:
        formated query