Differences
This shows you the differences between two versions of the page.
features:xml [2015/10/05 17:52] |
features:xml [2020/04/16 10:56] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | XML files describe generated editors | ||
+ | Editors generated by Adichatz are described by XML files as below. | ||
+ | |||
+ | <columns 100% l 100px> | ||
+ | |||
+ | {{:features:filmeditor.jpg?500 | FilmEDITOR.axml}} | ||
+ | <newcolumn lt> | ||
+ | |||
+ | Change XML contents during development process could be a simple way to change the editor behavior. | ||
+ | If changes on XML files are made at runtime, close and reopen the editor is enough to regenerate specific classes and to reload them with changes. \\ \\ | ||
+ | Complete XML example file could be see [[http://www.adichatz.org/document/FilmEditor.xml|here]]. \\ \\ | ||
+ | <WRAP indic> | ||
+ | In <config> tag: | ||
+ | * **<customization>**: Customization tag allows you to drive called XML files behavior. \\ | ||
+ | * **<param>**: Parameters received from calling xml file or calling action. | ||
+ | </WRAP> | ||
+ | |||
+ | </columns> | ||
+ | |||
+ | ===== Include Tag ===== | ||
+ | <columns 100% l 100px> | ||
+ | |||
+ | {{:features:filmdi.jpg?500 | FilmDI.axml}} | ||
+ | <newcolumn lt> | ||
+ | Called XML file contents is include in a <includeTree> tag. | ||
+ | This part could be used for different usages: | ||
+ | |||
+ | Called by first page for FilmEditor | ||
+ | Called by dependencies page of ActorEditor. | ||
+ | |||
+ | Complete XML example file could be see [[http://www.adichatz.org/document/FilmDI.xml|here]]. | ||
+ | </columns> | ||
+ | |||
+ | ===== Syntax ==== | ||
+ | Each tag corresponds to a configuration element or a component to be added to the editor. | ||
+ | Syntax follows the grammar specified in xsd files you can find [[http://www.adichatz.org/xsd/]]. | ||
+ | |||