From 3e1309dbb69d64d91c328763c7a2dd4a6bcf9427 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Sun, 6 Feb 2011 01:06:46 +0000 Subject: Support for changing component names and properties, and some edit improvements. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1067563 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/edit/apps/relay/app.html | 10 +- sca-cpp/trunk/modules/edit/apps/store/app.html | 16 +- sca-cpp/trunk/modules/edit/apps/store2/app.html | 16 +- sca-cpp/trunk/modules/edit/apps/store3/app.html | 16 +- sca-cpp/trunk/modules/edit/apps/travel/app.html | 4 +- sca-cpp/trunk/modules/edit/htdocs/app/app.html | 24 +- sca-cpp/trunk/modules/edit/htdocs/app/index.html | 5 + .../trunk/modules/edit/htdocs/dash/dashboard.html | 33 ++- sca-cpp/trunk/modules/edit/htdocs/dash/index.html | 3 + sca-cpp/trunk/modules/edit/htdocs/graph/graph.html | 40 ++- sca-cpp/trunk/modules/edit/htdocs/graph/graph.js | 326 ++++++++++++++++++--- sca-cpp/trunk/modules/edit/htdocs/graph/index.html | 5 + sca-cpp/trunk/modules/edit/htdocs/index.html | 5 +- sca-cpp/trunk/modules/edit/htdocs/main.html | 11 +- sca-cpp/trunk/modules/edit/htdocs/page/index.html | 5 + sca-cpp/trunk/modules/edit/htdocs/page/page.html | 48 ++- sca-cpp/trunk/modules/edit/htdocs/page/page.js | 173 +++++++++-- .../modules/edit/palettes/values/palette.composite | 80 +++++ .../edit/palettes/variables/palette.composite | 72 ----- sca-cpp/trunk/modules/js/htdocs/elemutil.js | 2 +- sca-cpp/trunk/modules/js/htdocs/ui.css | 40 ++- sca-cpp/trunk/modules/js/htdocs/uiblue.css | 28 +- sca-cpp/trunk/modules/js/htdocs/uicyan.css | 40 ++- sca-cpp/trunk/modules/js/htdocs/xmlutil.js | 3 +- sca-cpp/trunk/modules/wsgi/elemutil.py | 2 +- 25 files changed, 771 insertions(+), 236 deletions(-) create mode 100644 sca-cpp/trunk/modules/edit/palettes/values/palette.composite delete mode 100644 sca-cpp/trunk/modules/edit/palettes/variables/palette.composite diff --git a/sca-cpp/trunk/modules/edit/apps/relay/app.html b/sca-cpp/trunk/modules/edit/apps/relay/app.html index 31ef5db0be..1b255b8199 100644 --- a/sca-cpp/trunk/modules/edit/apps/relay/app.html +++ b/sca-cpp/trunk/modules/edit/apps/relay/app.html @@ -18,10 +18,10 @@ -->
- - - - - + + + + +
diff --git a/sca-cpp/trunk/modules/edit/apps/store/app.html b/sca-cpp/trunk/modules/edit/apps/store/app.html index ba64d84958..3a57127751 100644 --- a/sca-cpp/trunk/modules/edit/apps/store/app.html +++ b/sca-cpp/trunk/modules/edit/apps/store/app.html @@ -18,15 +18,15 @@ -->
-

Store

-

Catalog

- +

Store

+

Catalog

+ -

Your Shopping Cart

-total +

Your Shopping Cart

+total - - -(feed) + + +(feed)
diff --git a/sca-cpp/trunk/modules/edit/apps/store2/app.html b/sca-cpp/trunk/modules/edit/apps/store2/app.html index ba64d84958..3a57127751 100644 --- a/sca-cpp/trunk/modules/edit/apps/store2/app.html +++ b/sca-cpp/trunk/modules/edit/apps/store2/app.html @@ -18,15 +18,15 @@ -->
-

Store

-

Catalog

- +

Store

+

Catalog

+ -

Your Shopping Cart

-total +

Your Shopping Cart

+total - - -(feed) + + +(feed)
diff --git a/sca-cpp/trunk/modules/edit/apps/store3/app.html b/sca-cpp/trunk/modules/edit/apps/store3/app.html index ba64d84958..3a57127751 100644 --- a/sca-cpp/trunk/modules/edit/apps/store3/app.html +++ b/sca-cpp/trunk/modules/edit/apps/store3/app.html @@ -18,15 +18,15 @@ -->
-

Store

-

Catalog

- +

Store

+

Catalog

+ -

Your Shopping Cart

-total +

Your Shopping Cart

+total - - -(feed) + + +(feed)
diff --git a/sca-cpp/trunk/modules/edit/apps/travel/app.html b/sca-cpp/trunk/modules/edit/apps/travel/app.html index e83ec5aedd..f016acfe51 100644 --- a/sca-cpp/trunk/modules/edit/apps/travel/app.html +++ b/sca-cpp/trunk/modules/edit/apps/travel/app.html @@ -18,7 +18,7 @@ -->
-

Welcome to SCATours Online Travel

- +

Welcome to SCATours Online Travel

+
diff --git a/sca-cpp/trunk/modules/edit/htdocs/app/app.html b/sca-cpp/trunk/modules/edit/htdocs/app/app.html index 7a6330102a..7d95dcdd63 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/app/app.html +++ b/sca-cpp/trunk/modules/edit/htdocs/app/app.html @@ -29,18 +29,31 @@ -
+
- - +
+ + + + +
Properties +[atom] + +

- +
+ + + + + +
App Title:
Category:
Updated:
Feb 4, 2011
Description:
@@ -48,6 +61,7 @@
+

App Edit

+
+
diff --git a/sca-cpp/trunk/modules/edit/htdocs/dash/dashboard.html b/sca-cpp/trunk/modules/edit/htdocs/dash/dashboard.html index 5b5d758f31..11c0b95979 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/dash/dashboard.html +++ b/sca-cpp/trunk/modules/edit/htdocs/dash/dashboard.html @@ -29,21 +29,22 @@ -
+

+
+
+

App Edit

+
+
+

App Edit

+
+
diff --git a/sca-cpp/trunk/modules/edit/htdocs/index.html b/sca-cpp/trunk/modules/edit/htdocs/index.html index db5764781a..6a4c055295 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/index.html +++ b/sca-cpp/trunk/modules/edit/htdocs/index.html @@ -18,7 +18,7 @@ --> -App Edit Tools +App Edit @@ -35,8 +35,7 @@ ui.loadwidget('menu', '/menu.html'); -
-

App Edit Tools

+

App Edit


diff --git a/sca-cpp/trunk/modules/edit/htdocs/main.html b/sca-cpp/trunk/modules/edit/htdocs/main.html index 65909c1a94..819af53c52 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/main.html +++ b/sca-cpp/trunk/modules/edit/htdocs/main.html @@ -24,9 +24,10 @@ -
+
-
This module implements simple tools to help you create Tuscany apps.
+
This module implements simple App editing tools to help you create Tuscany apps.
+
The user interface is minimalistic, by design.

App Dashboard

@@ -36,12 +37,16 @@

Try the App Editor to edit an app.

Composition Editor

-

Try the Composition Editor to compose an app.

+

Try the Composition Editor to compose the logic of an app.

Page Editor

Try the Page Editor to draw an app page.

+ + diff --git a/sca-cpp/trunk/modules/edit/htdocs/page/index.html b/sca-cpp/trunk/modules/edit/htdocs/page/index.html index f8bfa273c7..23aeeb9e2a 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/page/index.html +++ b/sca-cpp/trunk/modules/edit/htdocs/page/index.html @@ -38,6 +38,9 @@ var appname = ui.queryParams()['app']; ui.loadwidget('menu', '/menu.html?app=' + appname); +

App Edit

+
+
diff --git a/sca-cpp/trunk/modules/edit/htdocs/page/page.html b/sca-cpp/trunk/modules/edit/htdocs/page/page.html index d0a26fdad0..f3fdb9def7 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/page/page.html +++ b/sca-cpp/trunk/modules/edit/htdocs/page/page.html @@ -30,24 +30,38 @@ -
+
- - +
Widgets
+ + + + + + + + +
Palette + + + +[atom json] + +
-
+
-

Header1

-

Header2

- - - -checkbox - -link -text - +

Header1

+

Header2

+ + + +checkbox + +link +text +
@@ -57,6 +71,8 @@