google-code-export / swtxml

Automatically exported from code.google.com/p/swtxml
1 stars 1 forks source link

Support for dynamic UIs #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Provide a mode attribute in the xml elements.
  <Button mode="doShowApply" text="apply"/>
Then pass a list of strings to the parser, like "doShowApply" and others and 
then when 
parsing the xml determine if the widget should be created or not based on 
matching the passed 
in strings with the mode.

This will allow the doShowApply to appear in the IDE editor/preview as a toggle 
button and 
you can then test your dynamic layouts by toggling the different modes.

Original issue reported on code.google.com by mikkel.t...@gmail.com on 28 Jan 2009 at 10:42