I am part of the Nebula team and I am in the process of creating a new widget where I subclass Composite. In my two-argument constructor I want to pass a style bit to control the creation of the widget.
Since I need to call super in the widget's constructor, how can I prevent passing a style that will be misinterpreted by the superclasses.
For instance, if I invent a style "MY_WIDGET.WRAP" with a value of 0x200000, this interferes with the style SWT.DOUBLE_BUFFERED which is also used by Composite.
What are the save values to use for custom widget styles?