Note to all: One of the most significant design decisions in SWT is that, *implementing* SWT should be as much like programming the platform API as possible. It is deliberately *not* like programming on some Java abstraction, because this reduces the implementors's ability to apply domain knowledge. This is particularly important when more than one developer may end up owning the codebase. Typically in C, constants are introduced in a header files but are then mentioned without qualifiers. The closest we could get to that is "OS.foo" for constant "foo", so that is how it should be coded.
Martin Sturzenhecker <msturzen@xxxxxxx> Sent by: platform-swt-dev-admin@xxxxxxxxxxx
07/16/2002 03:57 AM
Please respond to platform-swt-dev
Subject: Re: [platform-swt-dev] Mac OS X Port
Using this everything will get a little more verbose but, the enums will be a lot more _java-like_.