neurolabs / henplus

HenPlus is a SQL shell that can handle multiple sessions in parallel. The commandline interface with the usual history functions features TAB-completion for commands, tables and columns. Database connect via JDBC.
GNU General Public License v2.0
97 stars 51 forks source link

Add Event Listener structure #6

Open tbk303 opened 13 years ago

tbk303 commented 13 years ago

We need an Event Listener structure, that allows plugins to register for certain events like dispatched commands or start/exit of HenPlus.

Alright. The first event listener is available. An ExecutionListener can be added to the CommandDispatcher. It is now used in EchoCommandProperty that uses it to write out commands when this property is changed to 'true'.

I'll leave this bug open, since other listeners need to be added..

neurolabs commented 13 years ago

Submitted:

Henner Zeller ( hzeller ) - 2004-01-27 11:27:49 UTC