Class QueryWizardTreeActions.QueryWizardSelectionAdapter

  • All Implemented Interfaces:
    EventListener, org.eclipse.swt.events.SelectionListener, org.eclipse.swt.internal.SWTEventListener
    Enclosing class:
    QueryWizardTreeActions

    public abstract static class QueryWizardTreeActions.QueryWizardSelectionAdapter
    extends org.eclipse.swt.events.SelectionAdapter
    Default selection adapter for tree viewers, executing actions in transactions
    • Constructor Detail

      • QueryWizardSelectionAdapter

        public QueryWizardSelectionAdapter​(QueryWizardControl queryWizard)
        Parameters:
        queryWizard - query wizard control
    • Method Detail

      • getAction

        public abstract org.eclipse.jface.action.Action getAction()
        Get action, executing at tree viewer selection
        Returns:
        action
      • widgetSelected

        public void widgetSelected​(org.eclipse.swt.events.SelectionEvent evt)
        Specified by:
        widgetSelected in interface org.eclipse.swt.events.SelectionListener
        Overrides:
        widgetSelected in class org.eclipse.swt.events.SelectionAdapter