I managed OOPHM to bootstrap GWT scripts into XUL in chrome mode.
See
http://www.gdevelop.com/w/blog/2009/10/30/using-oophm-to-develop-xul-applications/
for how it works.
It is just a starting point for developing Firefox Extension using
GWT, we have to develop XUL widgets set.
For architectural design, there are two options:
1. Build XUL widgets from scratch: e.g XULWidget extends Widget,
XULLabel extends XULWidget, etc.
Pros:
+ Natural, elegant approach
Conts:
+ Rebuild from zero, does not reuse existing GWT widgets
functionalities.
2. Build XUL widgets on top GWT widgets: e.g XULButton extends Button,
XULLabel extends Label, etc
Pros:
+ Reuse all GWT widgets features, including event firing, event
handler registration
Conts:
+ Not a natural approach, e.g XULButton is not a HTML Button thus
XULButton extends Button seem not elegant.
Which one is direction to go with?