Let's say I have decided to implement my own widget from the base Canvas class in SWT.

I'd like it to have a fixed height of 10 and allow any type of width as long as it conforms to a multiple of 10.

Is there any way to impose this, so the users of my widget will only be allowed to set this kind of values when using my widget in design-mode?

I've tried looking up in `ControlEvent` on `ControlListener`, but it doesn't seem to have a way of canceling a resize.. maybe I have to manually set it back to an acceptable value if I detect a width / height?

Thanks