diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-03-13 19:24:17 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-03-13 19:24:17 +0000 |
commit | f605cae050e85d7e915007cc9498924594d5b01c (patch) | |
tree | 4671cdaacca9cb5e232ee77c8a08b315d4b77a86 /sca-cpp/trunk/modules/edit/palettes | |
parent | ea149af7638e1edb2f652789ddf87cf111747b98 (diff) |
Add test components that evaluate python expressions.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1081207 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-cpp/trunk/modules/edit/palettes/logic/palette.composite | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/edit/palettes/logic/palette.composite b/sca-cpp/trunk/modules/edit/palettes/logic/palette.composite index e24d93a987..0db971bdfd 100644 --- a/sca-cpp/trunk/modules/edit/palettes/logic/palette.composite +++ b/sca-cpp/trunk/modules/edit/palettes/logic/palette.composite @@ -29,6 +29,8 @@ <service name="equals" promote="equals"/> <service name="greater" promote="greater"/> <service name="lesser" promote="lesser"/> + <service name="eval" promote="eval"/> + <service name="exec" promote="exec"/> <component name="if" t:title="if" t:color="magenta1"> <t:implementation.python script="nuvem/if_.py"/> @@ -79,4 +81,18 @@ <reference name="value2"/> </component> + <component name="eval" t:title="py expr" t:color="magenta1"> + <t:implementation.python script="nuvem/eval_.py"/> + <service name="eval"/> + <reference name="py"/> + <reference name="ref"/> + </component> + + <component name="exec" t:title="py script" t:color="magenta1"> + <t:implementation.python script="nuvem/exec_.py"/> + <service name="exec"/> + <reference name="py"/> + <reference name="ref"/> + </component> + </composite> |