summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/edit/htdocs/graph/graph.html
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-02-12 18:29:37 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-02-12 18:29:37 +0000
commit2df07ad811f0929103ef03c4ac84fdbfde00412f (patch)
treee6ee1cf1e302ef715b928e51745d85af35dd5780 /sca-cpp/trunk/modules/edit/htdocs/graph/graph.html
parent085c66b5066a1b47d3980496069762361aa98bba (diff)
Add a few sample composites and a few fixes to the existing ones.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1070123 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/edit/htdocs/graph/graph.html')
-rw-r--r--sca-cpp/trunk/modules/edit/htdocs/graph/graph.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/sca-cpp/trunk/modules/edit/htdocs/graph/graph.html b/sca-cpp/trunk/modules/edit/htdocs/graph/graph.html
index b5eceddb53..6de3617651 100644
--- a/sca-cpp/trunk/modules/edit/htdocs/graph/graph.html
+++ b/sca-cpp/trunk/modules/edit/htdocs/graph/graph.html
@@ -34,9 +34,9 @@
<table style="width: 100%;">
<tr>
-<th class="thl" style="width: 230px; min-width: 230px;">Palette</th><th class="ths" style="width: 3px; min-width: 3px;"></th>
+<th class="thl" style="width: 225px; min-width: 225px;">Palette</th>
-<th class="thr" style="padding-top: 0px; padding-bottom: 0px;">
+<th class="thr" style="padding-left: 4px; padding-top: 0px; padding-bottom: 0px;">
<input id="compName" type="text" value="component name" style="position: relative; width: 200px;"/>
<input id="propValue" type="text" value="property value" style="position: relative; width: 300px;"/>
</th>
@@ -47,7 +47,7 @@
</th>
</tr>
-<tr style="height: 5000px;"><td class="tdl"></td><th class="ths"></th><td class="tdr" colspan="2"></td></tr>
+<tr style="height: 5000px;"><td class="tdl"></td><td class="tdr" colspan="2"></td></tr>
</table>
</div>
@@ -110,7 +110,7 @@ function getpalette(name, g, bg, palette, gpalettes) {
if (isNil(name))
return;
palettes.get(name, function(doc) {
- gpalettes[name] = graph.composite(atomcomposite(doc), graph.mkpath().move(85,0));
+ gpalettes[name] = graph.composite(atomcomposite(doc), graph.mkpath().move(80,0));
graph.display(gpalettes[name], name == spalette? g : bg);
});
}
@@ -154,11 +154,12 @@ var bg = graph.mkgroup(graph.mkpath());
var gpalettes = new Array();
var spalette = 'events';
var pos = graph.mkpath();
-installpalette('events', pos.rmove(0,10), g, bg, spalette, gpalettes);
+installpalette('events', pos.rmove(0,0), g, bg, spalette, gpalettes);
installpalette('values', pos.rmove(0,50), g, bg, spalette, gpalettes);
installpalette('url', pos.rmove(0, 50), g, bg, spalette, gpalettes);
installpalette('lists', pos.rmove(0, 50), g, bg, spalette, gpalettes);
-installpalette('operators', pos.rmove(0, 50), g, bg, spalette, gpalettes);
+installpalette('text', pos.rmove(0, 50), g, bg, spalette, gpalettes);
+installpalette('logic', pos.rmove(0, 50), g, bg, spalette, gpalettes);
installpalette('math', pos.rmove(0, 50), g, bg, spalette, gpalettes);
installpalette('social', pos.rmove(0, 50), g, bg, spalette, gpalettes);
installpalette('sensors', pos.rmove(0, 50), g, bg, spalette, gpalettes);