Class QueryWizardTreeActions

  • All Implemented Interfaces:
    org.eclipse.jface.action.IAction

    public class QueryWizardTreeActions
    extends org.eclipse.jface.action.Action
    Actions for query wizard
    • Method Detail

      • createToolBarActions

        public static org.eclipse.jface.action.Action createToolBarActions​(QueryWizardControl queryWizard,
                                                                           QueryWizardToolBarAction queryWizardToolBarAction,
                                                                           TreeViewer tree)
        Create new toolbar action
        Parameters:
        queryWizard - query wizard
        queryWizardToolBarAction - action
        tree - tree viewer
        Returns:
        new action
      • addTreeViewerHotKey

        public static void addTreeViewerHotKey​(QueryWizardControl queryWizard,
                                               TreeViewer tree,
                                               org.eclipse.jface.action.Action action,
                                               int hotkey)
        Add hot key for tree
        Parameters:
        queryWizard - query wizard
        tree - tree viewer
        action - action
        hotkey -
      • addTreeViewerHotKey

        public static void addTreeViewerHotKey​(QueryWizardControl queryWizard,
                                               TreeViewer tree,
                                               org.eclipse.jface.action.Action action,
                                               int hotkey,
                                               boolean needTransaction)
        Add hot key for tree
        Parameters:
        queryWizard - query wizard
        tree - tree viewer
        action - action
        hotkey -
        needTransaction - need transaction
      • run

        public void run()
        Specified by:
        run in interface org.eclipse.jface.action.IAction
        Overrides:
        run in class org.eclipse.jface.action.Action