Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[riena-dev] FYI - DefaultSwtControlRidgetMapper limitation

Hi,

FYI, I've hit a limitation with the DefaultSwtControlRidgetMapper.

Currently the addMapping method only allows to use the style bits in
order to get different ridgets:

addMapping(Button.class, ToggleButtonRidget.class, SWT.CHECK);
addMapping(Button.class, ToggleButtonRidget.class, SWT.TOGGLE);

This is a problem for the Tree.class which can be mapped to either a
TreeRidget or TreeTableRidget, depending on the number of columns in the
tree (ie. tree.getColumnCount() > 0).

I could envision adding support for this in the near feature.

Regards,
Elias.

---
Elias Volanakis
Technical Lead
Innoopract, Inc.
351 NW 12th Avenue
Portland, Oregon 97209
Tel: +1-503-552-1457
Fax: +1-503-715-4915
Mobile: +1-503-929-5537
evolanakis@xxxxxxxxxxxxxx
http://rapblog.innoopract.com




Back to the top