Class OpenQueryEditorHandler

  • All Implemented Interfaces:
    org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2

    public class OpenQueryEditorHandler
    extends OpenQueryModifierHandler
    Handler to open Query Editor
    • Constructor Detail

      • OpenQueryEditorHandler

        public OpenQueryEditorHandler()
    • Method Detail

      • createDialog

        protected org.eclipse.jface.dialogs.Dialog createDialog​(QlEditor editor,
                                                                org.eclipse.swt.widgets.Shell shell)
        Create QueryTextEditDialog
        Specified by:
        createDialog in class OpenQueryModifierHandler
        Parameters:
        editor - - QlEditor, cannot be null
        shell - - current shell, cannot be null
        Returns:
        QueryTextEditDialog, cannot be null
      • getText

        protected String getText​(org.eclipse.jface.dialogs.Dialog dialog)
        Get query text from Dialog
        Specified by:
        getText in class OpenQueryModifierHandler
        Parameters:
        dialog - - QueryTextEditDialog, cannot be null
        Returns:
        new query text, cannot be null