diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-03-08 08:17:46 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-03-08 08:17:46 +0000 |
commit | 5b33dc5c5a87fff146951ca0543bf558454c331d (patch) | |
tree | 12f24d56b0480e97e1cae474ee03c0d4798cfe93 /sca-cpp/trunk/modules/edit/palettes | |
parent | d621604a7732497afcb0378c61ac5614a014a01d (diff) |
Simplified list component by using a reference per element. Automatically setup app links and garbage collect unused components.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1079291 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/edit/palettes')
-rw-r--r-- | sca-cpp/trunk/modules/edit/palettes/list/palette.composite | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/sca-cpp/trunk/modules/edit/palettes/list/palette.composite b/sca-cpp/trunk/modules/edit/palettes/list/palette.composite index 8e31f0e8b5..be3f15ea66 100644 --- a/sca-cpp/trunk/modules/edit/palettes/list/palette.composite +++ b/sca-cpp/trunk/modules/edit/palettes/list/palette.composite @@ -26,16 +26,15 @@ <service name="first" promote="first"/> <service name="rest" promote="rest"/> <service name="empty" promote="empty"/> + <service name="append" promote="append"/> <service name="itemnb" promote="itemnb"/> <service name="find" promote="find"/> <service name="range" promote="range"/> - <service name="append" promote="append"/> <component name="list" t:title="make list" t:color="yellow1"> <t:implementation.python script="nuvem/list_.py"/> <service name="list"/> - <reference name="first"/> - <reference name="rest"/> + <reference name="item" t:clonable="true"/> </component> <component name="first" t:title="first item" t:color="yellow1"> @@ -55,6 +54,13 @@ <service name="empty"/> </component> + <component name="append" t:title="append" t:color="yellow1"> + <t:implementation.python script="nuvem/append.py"/> + <service name="append"/> + <reference name="first"/> + <reference name="second"/> + </component> + <component name="itemnb" t:title="item number" t:color="yellow1"> <t:implementation.python script="nuvem/itemnb.py"/> <service name="itemnb"/> @@ -76,11 +82,4 @@ <reference name="last"/> </component> - <component name="append" t:title="append" t:color="yellow1"> - <t:implementation.python script="nuvem/append.py"/> - <service name="append"/> - <reference name="first"/> - <reference name="second"/> - </component> - </composite> |