Some changes and additions
Anakreon Mejdi <[email protected]> Mon, 15 Sep 2003 11:32:45 +0300
| Newsgroups | gmane.comp.java.luxor-xul.user |
|---|---|
| Message-ID | <[email protected]> |
Hello all.
I am sending some modifications made on the luxor code and some new
additions.
Those sources should be concidered as a prototype and not as finished work.
So these are the changes:
=======================================================
Additions:
1)An alternative implementation for JTree
2)Support for BeanShell script
3)Recreate the gui if any of the files in chrome dir has changed.
Modifications:
1)AppRunner will create an empty JFrame with red background
if there is no components to display
2)AppRunner accepts (optionaly) the name of the window to display
If there is no window defined, or the window was not located then
the first available window will be displayed.
3)AppRunner will call XulManager initScripts method
after all components are created and initilized.
Is guarantied that no scripts will be running during the initilization
process.
4)Tool will call XulManager configure method prior to load.
If this is not done then custom tags will not be recognized.
5)Tool accepts parameter -r which enables the autorefresh feature.
6)Tool accepts parameter -w.The user can specify which window should
be displayed
7)Moved part of the implementation of method getBorder in the XulTag
class
to a protected method called createBorder
8)MenuDef.java, MenuItemDef.java, TableDef.java set the name of the
created component
equal to the id.This is necessery for the scripts if they want to get
a reference to the created component.
9)XulManager holds references of all JFrame instatnces created
between two calls
of initScripts method.
This is necessery in order for the scripts to obtain access to
references
of the JFrame components.
10)The XListRadioGroup sets the name of the JPanel equal to the
ChoiseDef's id
11)The XListComboBox sets the name of the JComboBox equal to the
ChoiceDef's id
===================================================================
The most important thing i'd like to talk about is the init.bsh script
found and samples/tree/scripts.
The sources modified are less the 10 and most of them have minor
modifications.
The archive containes all the sources because it was difficult to just
peek the modified ones and preserve the directory structure.
luxor.tar.gz
(application/x-compressed, 110.5 KB) - not displayed