Widget to Command adaptor
Reza RAZAVI
razavi at acm.org
Thu Feb 18 14:13:20 MET 2010
At 11:36 18/02/2010, Lukas Renggli wrote:
>I've integrated your changes in the latest Pier.
Thanks for the integration Lukas!
In the same vein of ideas, I'd like to share the attached change set.
It contains:
- A tiny framework that facilitates the *transformation" of Pier
Widgets to Pier Commands through code reuse.
- Its application to transform the following Widgets to Commands:
PRExportImportWidget
PRFileSettings
PUGroupsWidget
PRKernelSettings
PRPersistencySettings
PRSystemWidget
PUUsersWidget
PUSecurityWidget
The second file contains a few patches to the Pier code, to get a
'Close' button while remaining fully compatible with the current behavior.
If you find this useful, please don't hesitate to integrate it as you
would find it better fitting into Pier (specifically, I don't like my
patches to get the close button, but this was the most straitforward
way to get it working).
Regards,
Reza
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Pier Commands-Widget Adaptors.st
Type: application/octet-stream
Size: 5910 bytes
Desc: not available
URL: <http://www.iam.unibe.ch/pipermail/smallwiki/attachments/20100218/86ff10d0/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Pier Commands-Widget Adaptors-Pier patches.st
Type: application/octet-stream
Size: 2632 bytes
Desc: not available
URL: <http://www.iam.unibe.ch/pipermail/smallwiki/attachments/20100218/86ff10d0/attachment-0001.obj>
More information about the smallwiki
mailing list