Glimmer DSL for SWT 4.20.13.13 added a new Parking elaborate sample that acts as a building's parking booking system at its entrance.
It leverages the Canvas Shape DSL and Canvas Transform DSL. Also, it does not rely on data-binding for everything despite that being the flagship feature of Glimmer DSL for SWT. Glimmer aims to be pragmatic, not forcing data-binding when there are other practical approaches. The sample takes a hybrid approach, using data-binding where practical (changing parking spot color when booked) and relying on plain old observers to destroy/rebuild canvas shapes on floor changes.
Clicking available parking spot M triggers a booking!
Happy Glimmering!
No comments:
Post a Comment