Re: Organising the xwt namespace

David Crawshaw <[email protected]> Wed, 2 Apr 2003 20:59:54 +1000
Newsgroups gmane.comp.java.xwt.general
Message-ID <[email protected]>
On Wednesday, April 2, 2003, at 07:54  PM, Charles Goodwin wrote:
> 1) (a) plural or (b) non-plural

I don't think we should vote on this one. This is more than just a 
widget library decision, it's more in the XWT Philosophy department. As 
such, I'd prefer to leave it to Adam.

My preference is still no plurals.

> 2) (a) separation or (b) no separation of widgets / non-widgets

This is a little vague to me. There are all sorts of things in 
xwt.theme.

Which of the following are widgets?
- tab
- bevel
- treeleaf
- cell
- bar
- scrollbar


> 3) (a) no default xwt theme, (b) a default theme separate from the 
> widget
> core code, or (c) a default theme in the widget core code

So option (b) would give us:
- xwt.theme
- xwt.widget
- xwt.lib
- xwt.standard

I need to think about this one more too. I still like the idea of a 
simple implementation, so I'm leaning towards (c). On the condition (c) 
is the way I described earlier, which creates no code redundancy.


> 4) (a) heavy use of xwt.* namespace or (b) not

I really like xwt.lib, xwt.theme, xwt.widget. I think this one's on the 
border between widget code and XWT Philosophy, but without a doubt I 
think the structure imposed by the three namespaces and the fact only 
one of them can be overlayed is too good to miss.

d


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