summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/edit/palettes
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/modules/edit/palettes')
-rw-r--r--sca-cpp/trunk/modules/edit/palettes/animation/palette.composite45
-rw-r--r--sca-cpp/trunk/modules/edit/palettes/control/palette.composite21
-rw-r--r--sca-cpp/trunk/modules/edit/palettes/math/palette.composite5
-rw-r--r--sca-cpp/trunk/modules/edit/palettes/talk/palette.composite13
-rw-r--r--sca-cpp/trunk/modules/edit/palettes/text/palette.composite2
5 files changed, 79 insertions, 7 deletions
diff --git a/sca-cpp/trunk/modules/edit/palettes/animation/palette.composite b/sca-cpp/trunk/modules/edit/palettes/animation/palette.composite
new file mode 100644
index 0000000000..6785c0477f
--- /dev/null
+++ b/sca-cpp/trunk/modules/edit/palettes/animation/palette.composite
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" name="palette" targetNamespace="http://palette">
+ <service name="htattrs" promote="htattrs"/>
+ <service name="htbutton" promote="htbutton"/>
+ <service name="htcheck" promote="htcheck"/>
+ <service name="htimg" promote="htimg"/>
+ <service name="htlink" promote="htlink"/>
+ <service name="htstyle" promote="htstyle"/>
+ <service name="pixels" promote="pixels"/>
+ <component x="90" y="110" name="htattrs" title="html attrs:" color="magenta1">
+ <implementation.python script="nuvem/htattrs.py"/>
+ <service name="htattrs"/>
+ <reference name="value"/>
+ </component>
+ <component x="180" y="10" name="htbutton" title="html button" color="magenta1">
+ <implementation.python script="nuvem/htbutton.py"/>
+ <service name="htbutton"/>
+ <reference name="value"/>
+ </component>
+ <component x="180" y="60" name="htcheck" title="html checkbox" color="magenta1">
+ <implementation.python script="nuvem/htcheck.py"/>
+ <service name="htcheck"/>
+ <reference name="value"/>
+ </component>
+ <component x="90" y="10" name="htimg" title="html img" color="magenta1">
+ <implementation.python script="nuvem/htimg.py"/>
+ <service name="htimg"/>
+ <reference name="value"/>
+ </component>
+ <component x="90" y="60" name="htlink" title="html link" color="magenta1">
+ <implementation.python script="nuvem/htlink.py"/>
+ <service name="htlink"/>
+ <reference name="value"/>
+ </component>
+ <component x="190" y="110" name="htstyle" title="html style" color="magenta1">
+ <implementation.python script="nuvem/htstyle.py"/>
+ <service name="htstyle"/>
+ <reference name="value"/>
+ </component>
+ <component x="90" y="160" name="pixels" title="pixels" color="magenta1">
+ <implementation.python script="nuvem/pixels.py"/>
+ <service name="pixels"/>
+ <reference name="value"/>
+ </component>
+</composite>
diff --git a/sca-cpp/trunk/modules/edit/palettes/control/palette.composite b/sca-cpp/trunk/modules/edit/palettes/control/palette.composite
index d22b9482ee..b2c933eec4 100644
--- a/sca-cpp/trunk/modules/edit/palettes/control/palette.composite
+++ b/sca-cpp/trunk/modules/edit/palettes/control/palette.composite
@@ -1,11 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" name="palette" targetNamespace="http://palette">
+ <service name="animation" promote="animation"/>
<service name="call" promote="call"/>
<service name="location" promote="location"/>
+ <service name="schedule" promote="schedule"/>
<service name="service" promote="service"/>
<service name="start" promote="start"/>
<service name="stop" promote="stop"/>
<service name="timer" promote="timer"/>
+ <component x="90" y="170" name="animation" title="animation" color="green1">
+ <implementation.python script="nuvem/animation.py"/>
+ <service name="animation" visible="false">
+ <binding.http uri="animation"/>
+ </service>
+ <reference name="n"/>
+ <reference name="loop"/>
+ <reference name="content"/>
+ </component>
<component x="90" y="70" name="call" title="call" color="green1">
<implementation.python script="nuvem/call.py"/>
<service name="call"/>
@@ -19,7 +30,15 @@
</service>
<reference name="content"/>
</component>
- <component x="160" y="70" name="service" title="{compname}" color="green1">
+ <component x="170" y="120" name="schedule" title="schedule" color="green1">
+ <implementation.python script="nuvem/schedule.py"/>
+ <service name="schedule" visible="false">
+ <binding.http uri="schedule"/>
+ </service>
+ <reference name="n"/>
+ <reference name="content"/>
+ </component>
+ <component x="150" y="70" name="service" title="{compname}" color="green1">
<implementation.python script="nuvem/service.py"/>
<service name="service" visible="false"/>
<reference name="content"/>
diff --git a/sca-cpp/trunk/modules/edit/palettes/math/palette.composite b/sca-cpp/trunk/modules/edit/palettes/math/palette.composite
index f8d7ced4b8..3e86647d1d 100644
--- a/sca-cpp/trunk/modules/edit/palettes/math/palette.composite
+++ b/sca-cpp/trunk/modules/edit/palettes/math/palette.composite
@@ -7,6 +7,7 @@
<service name="max" promote="max"/>
<service name="min" promote="min"/>
<service name="multiply" promote="multiply"/>
+ <service name="pi" promote="pi"/>
<service name="random" promote="random"/>
<service name="round" promote="round"/>
<service name="sin" promote="sin"/>
@@ -57,6 +58,10 @@
<reference name="value1"/>
<reference name="value2"/>
</component>
+ <component x="240" y="130" name="pi" title="pi" color="magenta1">
+ <implementation.python script="nuvem/pi_.py"/>
+ <service name="pi"/>
+ </component>
<component x="170" y="130" name="random" title="rand" color="magenta1">
<implementation.python script="nuvem/random_.py"/>
<service name="random"/>
diff --git a/sca-cpp/trunk/modules/edit/palettes/talk/palette.composite b/sca-cpp/trunk/modules/edit/palettes/talk/palette.composite
index af293b97f5..db125c9793 100644
--- a/sca-cpp/trunk/modules/edit/palettes/talk/palette.composite
+++ b/sca-cpp/trunk/modules/edit/palettes/talk/palette.composite
@@ -2,7 +2,7 @@
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" name="palette" targetNamespace="http://palette">
<service name="sendemail" promote="sendemail"/>
<service name="sendgtalk" promote="sendgtalk"/>
- <service name="sendsms" promote="sendsms"/>
+ <service name="twsms" promote="twsms"/>
<service name="voicecall" promote="voicecall"/>
<component x="170" y="10" name="sendemail" title="email **" color="blue1">
<implementation.python script="nuvem/sendemail.py"/>
@@ -19,12 +19,15 @@
<reference name="to"/>
<reference name="msg"/>
</component>
- <component x="90" y="120" name="sendsms" title="sms **" color="blue1">
- <implementation.python script="nuvem/sendsms.py"/>
- <service name="sendsms"/>
- <reference name="user"/>
+ <component x="90" y="120" name="twsms" title="sms" color="blue1">
+ <implementation.python script="nuvem/twsms.py"/>
+ <service name="twsms"/>
+ <reference name="sid"/>
+ <reference name="token"/>
+ <reference name="from"/>
<reference name="to"/>
<reference name="msg"/>
+ <reference name="s" wiredByImpl="true" visible="false"/>
</component>
<component x="170" y="120" name="voicecall" title="voice **" color="blue1">
<implementation.python script="nuvem/voicecall.py"/>
diff --git a/sca-cpp/trunk/modules/edit/palettes/text/palette.composite b/sca-cpp/trunk/modules/edit/palettes/text/palette.composite
index 4b643000ef..925766a32f 100644
--- a/sca-cpp/trunk/modules/edit/palettes/text/palette.composite
+++ b/sca-cpp/trunk/modules/edit/palettes/text/palette.composite
@@ -50,7 +50,7 @@
<reference name="separator"/>
<reference name="string"/>
</component>
- <component x="170" y="230" name="uppercase" title="upper" color="magenta1">
+ <component x="160" y="230" name="uppercase" title="upper" color="magenta1">
<implementation.python script="nuvem/uppercase.py"/>
<service name="uppercase"/>
<reference name="string"/>