summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/edit/palettes/social
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-02-08 08:10:17 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-02-08 08:10:17 +0000
commitd81494d1a0c9daa1897203c9d4b49e29ea697219 (patch)
treea32b16ead22253c60261d7af21c864d9ab3b7d6c /sca-cpp/trunk/modules/edit/palettes/social
parent3cb164dea51add6d6c26210bc6fa58ab8f098cfe (diff)
Refactor groups of reusable components and improve layout a bit. Fix bug preventing saving empty composites.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1068288 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/edit/palettes/social')
-rw-r--r--sca-cpp/trunk/modules/edit/palettes/social/palette.composite99
1 files changed, 54 insertions, 45 deletions
diff --git a/sca-cpp/trunk/modules/edit/palettes/social/palette.composite b/sca-cpp/trunk/modules/edit/palettes/social/palette.composite
index 739b878025..09a4646d3d 100644
--- a/sca-cpp/trunk/modules/edit/palettes/social/palette.composite
+++ b/sca-cpp/trunk/modules/edit/palettes/social/palette.composite
@@ -22,60 +22,69 @@
targetNamespace="http://social"
name="palette">
- <service name="JSONTwit" promote="JSONTwit"/>
- <service name="XMLTwit" promote="XMLTwit"/>
- <service name="RSSTwit" promote="RSSTwit"/>
- <service name="HTML" promote="HTML"/>
- <service name="JSONFB" promote="JSONFB"/>
+ <service name="fbprofile" promote="fbprofile"/>
+ <service name="fbalbum" promote="fbalbum"/>
+ <service name="fbfriends" promote="fbfriends"/>
+ <service name="fbgroup" promote="fbgroup"/>
+ <service name="twprofile" promote="twprofile"/>
+ <service name="twfriends" promote="twfriends"/>
+ <service name="twstatus" promote="twstatus"/>
+ <service name="twtimeline" promote="twtimeline"/>
- <component name="JSONTwit" t:color="blue1">
- <t:implementation.python script="relay.py"/>
- <service name="Relay">
- <t:binding.http uri="jsontwit"/>
- </service>
- <reference name="target">
- <t:binding.http uri="http://api.twitter.com/1/statuses/user_timeline.json?screen_name=jsdelfino"/>
- </reference>
+ <component name="fbprofile" t:color="blue1">
+ <documentation>facebook profile</documentation>
+ <t:implementation.python script="fbprofile.py"/>
+ <service name="fbprofile"/>
+ <reference name="id"/>
</component>
- <component name="XMLTwit" t:color="blue1">
- <t:implementation.python script="relay.py"/>
- <service name="Relay">
- <t:binding.http uri="xmltwit"/>
- </service>
- <reference name="target">
- <t:binding.http uri="http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=jsdelfino"/>
- </reference>
+ <component name="fbalbum" t:color="blue1">
+ <documentation>facebook album</documentation>
+ <t:implementation.python script="fbalbum.py"/>
+ <service name="fbalbum"/>
+ <reference name="id"/>
</component>
- <component name="RSSTwit" t:color="blue1">
- <t:implementation.python script="relay.py"/>
- <service name="Relay">
- <t:binding.http uri="rsstwit"/>
- </service>
- <reference name="target">
- <t:binding.http uri="http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=jsdelfino"/>
- </reference>
+ <component name="fbfriends" t:color="blue1">
+ <documentation>facebook friends</documentation>
+ <t:implementation.python script="fbfriends.py"/>
+ <service name="fbfriends"/>
+ <reference name="id"/>
</component>
- <component name="HTML" t:color="blue1">
- <t:implementation.python script="relay.py"/>
- <service name="Relay">
- <t:binding.http uri="html"/>
- </service>
- <reference name="target">
- <t:binding.http uri="http://people.apache.org/~jsdelfino/"/>
- </reference>
+ <component name="fbgroup" t:color="blue1">
+ <documentation>facebook group</documentation>
+ <t:implementation.python script="fbgroup.py"/>
+ <service name="fbgroup"/>
+ <reference name="id"/>
</component>
- <component name="JSONFB" t:color="blue1">
- <t:implementation.python script="relay.py"/>
- <service name="Relay">
- <t:binding.http uri="jsonfb"/>
- </service>
- <reference name="target">
- <t:binding.http uri="https://graph.facebook.com/100001053301307"/>
- </reference>
+ <component name="twprofile" t:color="blue1">
+ <documentation>twitter profile</documentation>
+ <t:implementation.python script="twprofile.py"/>
+ <service name="twprofile"/>
+ <reference name="id"/>
+ </component>
+
+ <component name="twfriends" t:color="blue1">
+ <documentation>twitter friends</documentation>
+ <t:implementation.python script="twfriends.py"/>
+ <service name="twfriends"/>
+ <reference name="id"/>
+ </component>
+
+ <component name="twstatus" t:color="blue1">
+ <documentation>twitter status</documentation>
+ <t:implementation.python script="twstatus.py"/>
+ <service name="twstatus"/>
+ <reference name="id"/>
+ </component>
+
+ <component name="twtimeline" t:color="blue1">
+ <documentation>twitter timeline</documentation>
+ <t:implementation.python script="twtimeline.py"/>
+ <service name="twtimeline"/>
+ <reference name="id"/>
</component>
</composite>