avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Krieg" <dkr...@kc.rr.com>
Subject Re: Swing and Avalon
Date Tue, 15 Oct 2002 00:06:22 GMT
>You may want to have a look at projects like Eclipse or Netbeans. From what
I
>have heard both have "service kernels" to host services. These "Services"
>usually do UI specific things from Undo/State management to connection to
>underlying datasources.
To add to the list, checkout jEdit.  It can work as a base as well.

>
>The way I used to do things (and I say used to as I have since stopped
doing
>most GUI work) is something like the following.
>
>Define a hierarchial EventBusService. When an even occurs you place it on
>EventBus, if not handled (or not removed during handling) it will gradually
>percolate up the EventBus. Usually I had an "Application" EventBus as a
>parent of each "Form" EventBus.
>
>Handing off each EventBus are various actions/handlers that consume events,
>use services to perform some behaviour and then update the UI (think of
them
>in same way as Struts actions and you will get what I mean).
InfoBus is a standard EventBus system you may want to consider as well.
jEdit comes with their own custom EventBus (thus the aforementioned
recommendation)


--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message