Update on Installer DeLux

"R. Dale Asberry" <[email protected]> Sun, 11 Jan 2004 21:13:36 -0500
Newsgroups gmane.comp.java.luxor-xul.user
Message-ID <[email protected]>
I've been having great success for the small time investment that I've been
making.  I've made some minor interface tweaks to XulDef, XulDefHandler,
XulDefMap, XulLoader, and XulManager to save/retrieve NComponents.  For the
tweaks to work, I added a small amount of code to the
luxor.swing.ComponentFunctionalAspect that "caches" the NComponents.  The
only components that are saved/retrieved must have a unique "id" attribute
defined and are referenced by it.  This gives the programmer access to the
contained data without requiring an action to maintain a reference to the
primary gui container(s).  What does this mean?  I am using these
enhancements to reference gui components from within an action and the
action doesn't have to "know" which container to get the components to be
processed.  The action also doesn't have to be invoked to immediately
"process" the form either.  In other words, these enhancements further
loosen the coupling between actions and forms.

Right now, Installer DeLux has the following features:
- chrome and properties can be reloaded at run-time for immediate updates.
- new actions can be loaded at run-time. Classloader issues currently
prevent reloading actions.
- actions are specified in a properties file.
- action functionality can be delegated to named methods in specified
handler classes.
- has four built-in actions command="enable()", command="disable()", exit
and reload.
- each screen "remembers" the data and field state as the user interacts
with the installer.

The installer also has the following "screens" prototyped:
- Welcome
- License acceptance
- Component Bundle select

Tasks/features yet to be completed:
- adding Judy installer as example to source tree
- clean up source tree
- action to fork an ant task
- more prototyped screens as I need them
- documentation
- ant build file



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html