diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-03-27 21:59:06 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-03-27 21:59:06 +0000 |
commit | b334d8f3cfb7b43e705ed0b7c7aa6e2ce23e5bd6 (patch) | |
tree | 4c9d007cedf59cc9a1baacd8f875d743d445ed29 /sca-cpp/trunk/modules/edit/palettes/math/palette.composite | |
parent | 093d169f38327c96964f9a42bc8fcd8f9eb32179 (diff) |
Add tests for HTTP components and widgets. Refactor and simplify some of the samples composites and component categories.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1086047 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/edit/palettes/math/palette.composite')
-rw-r--r-- | sca-cpp/trunk/modules/edit/palettes/math/palette.composite | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/sca-cpp/trunk/modules/edit/palettes/math/palette.composite b/sca-cpp/trunk/modules/edit/palettes/math/palette.composite index 61638b50a2..d3c99d74c4 100644 --- a/sca-cpp/trunk/modules/edit/palettes/math/palette.composite +++ b/sca-cpp/trunk/modules/edit/palettes/math/palette.composite @@ -26,8 +26,9 @@ <service name="divide" promote="divide"/> <service name="add" promote="add"/> <service name="subtract" promote="subtract"/> + <service name="distance" promote="distance"/> - <component name="multiply" t:title="*" t:color="magenta1"> + <component name="multiply" t:title="multiply" t:color="magenta1"> <t:implementation.python script="nuvem/multiply.py"/> <service name="multiply"> <documentation>*</documentation> @@ -36,7 +37,7 @@ <reference name="value2"/> </component> - <component name="divide" t:title="/" t:color="magenta1"> + <component name="divide" t:title="divide" t:color="magenta1"> <t:implementation.python script="nuvem/divide.py"/> <service name="divide"> <documentation>/</documentation> @@ -45,7 +46,7 @@ <reference name="value2"/> </component> - <component name="add" t:title="+" t:color="magenta1"> + <component name="add" t:title="add" t:color="magenta1"> <t:implementation.python script="nuvem/add.py"/> <service name="add"> <documentation>+</documentation> @@ -54,7 +55,7 @@ <reference name="value2"/> </component> - <component name="subtract" t:title="-" t:color="magenta1"> + <component name="subtract" t:title="subtract" t:color="magenta1"> <t:implementation.python script="nuvem/subtract.py"/> <service name="subtract"> <documentation>-</documentation> @@ -63,4 +64,11 @@ <reference name="value2"/> </component> + <component name="distance" t:title="distance **" t:color="magenta1"> + <t:implementation.python script="nuvem/distance.py"/> + <service name="distance"/> + <reference name="location1"/> + <reference name="location2"/> + </component> + </composite> |