Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] org.eclipse.swt.SWT

Hi All!

For the SWT developers:

Why does SWT class contain constants representing different concepts?

SWT has constants for event, color, and even error messages! All different
concepts merged into one monolothic class. What was the design rationale
behind this?

The more natural way as i precieve would have been to split SWT into
SWTStyle
SWTColor
SWTEvent
SWTError
etc.
And each class containing utility methods applicable to that class.

Am I missing something?

Thanks & Regards
Indukumar




Back to the top