Re: Organising the xwt namespace

David Crawshaw <[email protected]> Thu, 3 Apr 2003 00:35:24 +1000
Newsgroups gmane.comp.java.xwt.general
Message-ID <[email protected]>
On Thursday, April 3, 2003, at 12:40  AM, Charles Goodwin wrote:
> org.xwt.themes.monopoly.button preapply xwt.widgets.button which 
> preapplies
> xwt.theme.button which preapplies xwt.lib.button (altho xwt.lib.button
> probably won't exist), and that's where this falls apart.

Um, that's not what we've been discussing (I think).

xwt.widget.button - preapplies - xwt.theme.button
xwt.theme.button - does nothing but hold documentation
org.xwt.theme.monopoly.button - may preapply - xwt.lib.button

org.xwt.theme.monopoly - overlays - xwt.theme

Now due to the overlay, when you make a call to xwt.widget.button, what 
actually happens is:

xwt.wiget.button - preapplies - org.xwt.theme.monopoly.button
org.xwt.theme.monopoly.button - preapplies - xwt.lib.button

The xwt.theme.button is being cancelled out. That's the argument for 
putting a theme in it. It's not actually doing anything at the moment.

d


_______________________________________________
http://lists.xwt.org/listinfo/dev