Attribute | Mand. | Description | Default |
id | yes | Project identifier. | |
condition | no | Condition for the existence of the project. | |
version | no | Name or number of the project version. Contents are free. | |
applicationBehavior | no | Full name of the Java class that defines the specific behaviour of the application (see leon.app.behavior.LyApplicationBehavior). | |
sessionBehavior | no | Full name of the Java class that defines the specific behaviour of a session of the application (see leon.app.behavior.LySessionBehavior). | |
rootAction | no | Reference to the first invoked action at the start of the application. The default root action is the '_dashboard' action (see 'XMLDoc' documentation). | |
name | no | Name of the project | |
tip | no | Help of the project. | |
prefix | no | Image of the project. |
<!ELEMENT PROJECT (%A_DECLARATION;)*> |
Element | Mand. | Mult. | Description |
A_DECLARATION |
yes | no | List of the declarations of the project (classes, fields, filters, actions, sub-projects, inclusions?). |
<PROJECT id="bugReport" rootAction="brLogin" sessionBehavior="BrSessionBehavior"> <!-- Standard include --> &LEON; <!-- Common entities --> &COMMON; &ACTIONS; <!-- Classes --> &brClass; &sysClass; &ssyClass; &verClass; &usrClass; &cusClass; &keyClass; <!-- Actions --> <ACTION id="brLogin" template="_login" behavior="BrLoginBehavior"> <PARAMETER name="_userClassInfo" idref="usrClass"/> <ACTIONS idrefs="brDashboard"/> </ACTION> <ACTION id="brDashboard" template="_dashboard"> <NAME value="MAIN_WINDOW_TITLE"/> <PREFIX value="br"/> <ACTIONS> <ACTION_REF idref="brTable" class="brClass"/> <ACTION_REF idref="brTable" class="sysClass"/> <ACTION_REF idref="brTable" class="ssyClass"/> <ACTION_REF idref="brTable" class="verClass"/> <ACTION_REF idref="brTable" class="usrClass"/> <ACTION_REF idref="brTable" class="cusClass"/> <ACTION_REF idref="brTable" class="keyClass"/> </ACTIONS> </ACTION> </PROJECT> |