Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: markup/interface/xul/sottet/extracted
Source used for this grammar: Jean-Sébastien Sottet, XUL-Interactorl.ecore
, 2007/02/08
UIModel
, Windows
, Button
, Orients
, Image
, RadioGroup
, Radio
, ListBox
, ListItem
, MenuList
, MenuItem
, vbox
, hbox
, Containement
, GroupBox
, Container
, Interactor
, TabBox
, TextBox
, Spacer
, Label
, Grid
, row
, column
, CheckBox
, Caption
, Description
, HeaderCss
, HeaderJScript
, TabPanel
, Event
, Parameter
, onClick
, Function
, String
, Integer
, Boolean
), 0 root (—), 0 top (—), 0 bottom (—).[windows]
, [functions]
, [id]
4, [title]
, [orient]
4, [style]
4, [headers]
, [headersJScript]
, [tooltiptext]
, [image]
, [horizontal]
, [vertical]
, [src]
, [radiobuttons]
, [label]
6, [selected]
, [disabled]
3, [rows]
2, [listitems]
, [value]
5, [menuitems]
, [xulInteractors]
6, [accesskey]
2, [class]
2, [maxlength]
2, [minlength]
2, [onclick]
2, [flex]
, [stat]
, [events]
, [tabPanels]
, [multiline]
, [control]
, [columns]
, [checked]
, [ref]
2, [type]
, [functionCallParameters]
2, [functionCalledName]
2, [name]
4, [functionUIModel]
, [body]
.UIModel ::=
[windows]::Windows [functions]::Function
Windows ::= [id]::String [title]::String [orient]::Orients [style]::String [headers]::HeaderCss[headersJScript]::HeaderJScript
Button ::= [tooltiptext]::String [image]::String
Orients ::= [horizontal]::ε [vertical]::ε
Image ::= [src]::String
RadioGroup ::=
[radiobuttons]::Radio
Radio ::= [id]::String [label]::String [selected]::Boolean [disabled]::Boolean
ListBox ::=
[rows]::Integer [listitems]::ListItem
ListItem ::= [label]::String [value]::String
MenuList ::=
[menuitems]::MenuItem
MenuItem ::= [label]::String
vbox ::=
[xulInteractors]::Interactor
hbox ::=
[xulInteractors]::Interactor
Containement ::= Button
Containement ::= Image
Containement ::= RadioGroup
Containement ::= ListBox
Containement ::= MenuList
Containement ::= TabBox
Containement ::= TextBox
Containement ::= Spacer
Containement ::= Label
Containement ::= Grid
Containement ::= CheckBox
Containement ::= Caption
Containement ::= Description
Containement ::= [style]::String [accesskey]::String [class]::String [maxlength]::Integer [label]::String [orient]::Orients [minlength]::String [onclick]::String [disabled]::String
GroupBox ::=
[xulInteractors]::Interactor
Container ::= Windows
Container ::= vbox
Container ::= hbox
Container ::= GroupBox
Container ::= row
Container ::= column
Container ::= TabPanel
Container ::=
[xulInteractors]::Interactor
Interactor ::= Radio
Interactor ::= ListItem
Interactor ::= MenuItem
Interactor ::= Containement
Interactor ::= Container
Interactor ::=
[flex]::Integer [id]::String [stat]::String [style]::String [events]::Event
TabBox ::=
[tabPanels]::Interactor
TextBox ::= [multiline]::Boolean [value]::String
Spacer ::= [style]::String [accesskey]::String [class]::String [maxlength]::Integer [label]::String [orient]::Orients [minlength]::String [onclick]::String [disabled]::String
Label ::= [value]::String [control]::String
Grid ::= [columns]::column[rows]::row
row ::=
[xulInteractors]::Interactor
column ::=
[xulInteractors]::Interactor
CheckBox ::= [checked]::Boolean
Caption ::= [label]::String
Description ::= [value]::String
HeaderCss ::= [ref]::String [type]::String
HeaderJScript ::= [ref]::String
TabPanel ::= [id]::String [orient]::Orients
Event ::= onClick
Event ::=
[functionCallParameters]::Parameter
[functionCalledName]::String [name]::StringParameter ::= [value]::String [name]::String
onClick ::=
[functionCallParameters]::Parameter
[functionCalledName]::String [name]::StringFunction ::= [name]::String [functionUIModel]::UIModel [body]::String
String ::= string
Integer ::= integer
Boolean ::= "true" "false"