, one main function serves to display the data from any action in a dialog.
(defun display-in-dialog (type data interface)
"~S: ~A ~S"
(capi:interface-title interface) type data))
is the action callback for both the graph pane and the list panel. It calls
, specifying one of the required arguments.
(defun display-selection-in-dialog (&rest args)
(apply 'display-in-dialog "selected" args))
Although only one action callback is specified in the example interface, the relevant functions have been defined in this modular way to allow for the possibility of extending the interface. For instance, you may decide at a later date that you want to display the information for an extended selection in a dialog, rather than in the display pane. You could do this by defining a new callback which calls
, passing it an appropriate argument.