diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-04-17 22:13:58 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-04-17 22:13:58 +0000 |
commit | 7df272063ba2167d797bda383680bfcf648418f8 (patch) | |
tree | bf69c23fe6d2ea3a07fccb92fa8d9962660b81ad /sca-cpp/trunk/modules/edit/palettes/values/palette.composite | |
parent | 7779274ac986c038ab2f444fe04bd21051153294 (diff) |
Add a few sample and test apps. Refactor some of the utility components and adjusted apps to use them.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1094208 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-cpp/trunk/modules/edit/palettes/values/palette.composite (renamed from sca-cpp/trunk/modules/edit/palettes/value/palette.composite) | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/sca-cpp/trunk/modules/edit/palettes/value/palette.composite b/sca-cpp/trunk/modules/edit/palettes/values/palette.composite index 1cd9022493..75c4bca5bb 100644 --- a/sca-cpp/trunk/modules/edit/palettes/value/palette.composite +++ b/sca-cpp/trunk/modules/edit/palettes/values/palette.composite @@ -19,47 +19,50 @@ --> <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" - targetNamespace="http://value" + targetNamespace="http://values" name="palette"> + <service name="property" promote="property"/> <service name="text" promote="text"/> <service name="number" promote="number"/> <service name="name" promote="name"/> <service name="valueof" promote="valueof"/> - <service name="nothing" promote="nothing"/> <service name="true" promote="true"/> <service name="false" promote="false"/> + <service name="nothing" promote="nothing"/> <service name="now" promote="now"/> - <component name="text" t:title="text" t:color="orange1"> + <component name="property" t:title="{propval} :" t:color="orange1"> + <t:implementation.python script="nuvem/assoc.py"/> + <service name="property"/> + <reference name="value"/> + <property name="property">name</property> + </component> + + <component name="text" t:title=" '{propval}'" t:color="orange1"> <t:implementation.python script="nuvem/text.py"/> <service name="text"/> - <property name="property">abc</property> + <property name="property">text</property> </component> - <component name="number" t:title="number" t:color="orange1"> + <component name="number" t:title="#" t:color="orange1"> <t:implementation.python script="nuvem/number.py"/> <service name="number"/> - <property name="property">0</property> + <property name="property">123</property> </component> - <component name="name" t:title="name" t:color="orange1"> + <component name="name" t:title="" t:color="orange1"> <t:implementation.python script="nuvem/name.py"/> <service name="name"/> <property name="property">name</property> </component> - <component name="valueof" t:title="value of" t:color="orange1"> + <component name="valueof" t:title="valueof" t:color="orange1"> <t:implementation.python script="nuvem/valueof.py"/> <service name="valueof"/> <property name="name">name</property> </component> - <component name="nothing" t:title="nothing" t:color="orange1"> - <t:implementation.python script="nuvem/nothing.py"/> - <service name="nothing"/> - </component> - <component name="true" t:title="true" t:color="orange1"> <t:implementation.python script="nuvem/true_.py"/> <service name="true"/> @@ -70,9 +73,15 @@ <service name="false"/> </component> + <component name="nothing" t:title="nothing" t:color="orange1"> + <t:implementation.python script="nuvem/nothing.py"/> + <service name="nothing"/> + </component> + <component name="now" t:title="now" t:color="orange1"> <t:implementation.python script="nuvem/now.py"/> <service name="now"/> + <reference name="format"/> </component> </composite> |