damp.ekeko.gui documentation

Utility functions for interacting with the Eclipse GUI and opening a Barista view on core.logic results.

eclipse-uithread-do

(eclipse-uithread-do runnable)
Calls its Runnable argument synchronously in the Eclipse UI thread.

eclipse-uithread-return

(eclipse-uithread-return runnable)
Returns the value of its Runnable argument, called synchronously in the Eclipse UI thread.

get-active-workbench-window

(get-active-workbench-window)
Returns the active workbench window.

get-workbench

(get-workbench)
Returns the Eclipse workbench.

open-barista-results-viewer*

(open-barista-results-viewer* querytxt logicvars resultsqc elapsed cnt)
Opens and returns a Barista view on core.logic results. 
Creates an instance of damp.ekeko.gui/label-provider-class as the label provider for the results.

select-workingset*

(select-workingset*)
Opens a WorkingSetSelectionDialog that returns the _single_, non-aggregate selected WorkingSet or nil.

set-workbench-status|error!

(set-workbench-status|error! txt)
Displays an error message in the status line of the workbench.  Must be called from UI thread.

workbench-actionbars

(workbench-actionbars)
Returns the IActionBars of the workbench. Must be called from UI thread.

workbench-activepage

(workbench-activepage)
Returns the active workbench page. Must be called from UI thread.

workbench-activepart

(workbench-activepart)
Returns the editor or view part that is currently active in the workbench. Must be called from UI thread.

workbench-editor

(workbench-editor)
Returns the current editor that has focus. Must be called from UI thread.

workbench-statuslinemanager

(workbench-statuslinemanager)
Returns the StatusLineManager of the workbench. Must be called from UI thread.

workbench-window-shell

(workbench-window-shell window)
Returns the shell of the given window.