From ad1c9458ea08eb593be252b706a88568f17c494c Mon Sep 17 00:00:00 2001 From: lresende Date: Wed, 19 Nov 2008 00:07:37 +0000 Subject: Moving current trunk modules to contrib, before starting the Equinox branch merge git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@718812 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/resources/DomainManager.composite | 281 -------------- .../src/main/resources/cloud-gadget.html | 408 --------------------- .../domain-manager/src/main/resources/cloud.html | 68 ---- .../src/main/resources/composite-gadget.html | 277 -------------- .../src/main/resources/composite.html | 66 ---- .../src/main/resources/files-gadget.html | 124 ------- .../domain-manager/src/main/resources/files.html | 64 ---- .../src/main/resources/home-gadget.html | 45 --- .../domain-manager/src/main/resources/home.html | 65 ---- .../src/main/resources/icons/feed-icon.png | Bin 818 -> 0 bytes .../domain-manager/src/main/resources/manager.css | 104 ------ .../src/main/resources/toolbar-gadget.html | 47 --- .../domain-manager/src/main/resources/utils.js | 246 ------------- .../src/main/resources/workspace-gadget.html | 232 ------------ .../src/main/resources/workspace.html | 65 ---- 15 files changed, 2092 deletions(-) delete mode 100644 java/sca/modules/domain-manager/src/main/resources/DomainManager.composite delete mode 100644 java/sca/modules/domain-manager/src/main/resources/cloud-gadget.html delete mode 100644 java/sca/modules/domain-manager/src/main/resources/cloud.html delete mode 100644 java/sca/modules/domain-manager/src/main/resources/composite-gadget.html delete mode 100644 java/sca/modules/domain-manager/src/main/resources/composite.html delete mode 100644 java/sca/modules/domain-manager/src/main/resources/files-gadget.html delete mode 100644 java/sca/modules/domain-manager/src/main/resources/files.html delete mode 100644 java/sca/modules/domain-manager/src/main/resources/home-gadget.html delete mode 100644 java/sca/modules/domain-manager/src/main/resources/home.html delete mode 100644 java/sca/modules/domain-manager/src/main/resources/icons/feed-icon.png delete mode 100644 java/sca/modules/domain-manager/src/main/resources/manager.css delete mode 100644 java/sca/modules/domain-manager/src/main/resources/toolbar-gadget.html delete mode 100644 java/sca/modules/domain-manager/src/main/resources/utils.js delete mode 100644 java/sca/modules/domain-manager/src/main/resources/workspace-gadget.html delete mode 100644 java/sca/modules/domain-manager/src/main/resources/workspace.html (limited to 'java/sca/modules/domain-manager/src/main/resources') diff --git a/java/sca/modules/domain-manager/src/main/resources/DomainManager.composite b/java/sca/modules/domain-manager/src/main/resources/DomainManager.composite deleted file mode 100644 index ba57ea45d1..0000000000 --- a/java/sca/modules/domain-manager/src/main/resources/DomainManager.composite +++ /dev/null @@ -1,281 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - workspace.xml - cloud - - - - - - - - - - - - - - - - - files - - - - - - - - - files - - - - - - - - - domain.composite - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - cloud.composite - cloud - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/sca/modules/domain-manager/src/main/resources/cloud-gadget.html b/java/sca/modules/domain-manager/src/main/resources/cloud-gadget.html deleted file mode 100644 index 619df54ede..0000000000 --- a/java/sca/modules/domain-manager/src/main/resources/cloud-gadget.html +++ /dev/null @@ -1,408 +0,0 @@ - - - -SCA Domain - Cloud - - - - - - - - -
- -
-
-
- >Add -  Delete -    - Start -  Stop -
- - - -
- - - - diff --git a/java/sca/modules/domain-manager/src/main/resources/cloud.html b/java/sca/modules/domain-manager/src/main/resources/cloud.html deleted file mode 100644 index d661d5d38b..0000000000 --- a/java/sca/modules/domain-manager/src/main/resources/cloud.html +++ /dev/null @@ -1,68 +0,0 @@ - - - -SCA Domain - Cloud - - - - - - - -
-
- - - SCA Domain

- Cloud  -
-
- Here is the list of SCA nodes configured in your SCA domain cloud. -

- -
- - - - - - - diff --git a/java/sca/modules/domain-manager/src/main/resources/composite-gadget.html b/java/sca/modules/domain-manager/src/main/resources/composite-gadget.html deleted file mode 100644 index 82855a410a..0000000000 --- a/java/sca/modules/domain-manager/src/main/resources/composite-gadget.html +++ /dev/null @@ -1,277 +0,0 @@ - - - -SCA Domain - Domain Composite - - - - - - - - -
- -
-
-
- >Add -  Delete -
- - - -
- - - - diff --git a/java/sca/modules/domain-manager/src/main/resources/composite.html b/java/sca/modules/domain-manager/src/main/resources/composite.html deleted file mode 100644 index b0631e1d66..0000000000 --- a/java/sca/modules/domain-manager/src/main/resources/composite.html +++ /dev/null @@ -1,66 +0,0 @@ - - - -SCA Domain - Domain Composite - - - - - - - -
-
- - - SCA Domain

- Domain Composite  -
-
- Here is the list of SCA composites currently included as top-level composites in your SCA domain. -

- -
- - - - - - - diff --git a/java/sca/modules/domain-manager/src/main/resources/files-gadget.html b/java/sca/modules/domain-manager/src/main/resources/files-gadget.html deleted file mode 100644 index 83315a1957..0000000000 --- a/java/sca/modules/domain-manager/src/main/resources/files-gadget.html +++ /dev/null @@ -1,124 +0,0 @@ - - - -SCA Domain - Contribution File Server - - - - - - - - -
- -
-
-
- >Upload -  Delete -
- - - -
- - - - diff --git a/java/sca/modules/domain-manager/src/main/resources/files.html b/java/sca/modules/domain-manager/src/main/resources/files.html deleted file mode 100644 index 37d89e7665..0000000000 --- a/java/sca/modules/domain-manager/src/main/resources/files.html +++ /dev/null @@ -1,64 +0,0 @@ - - - -SCA Domain - Contribution File Server - - - - - - - -
-
- - - SCA Domain

- File Server  -
-
- This is a simple ATOM-based file server useful to share files if you don't have an FTP, SVN or Maven repository. -

- -
- - - - - - - diff --git a/java/sca/modules/domain-manager/src/main/resources/home-gadget.html b/java/sca/modules/domain-manager/src/main/resources/home-gadget.html deleted file mode 100644 index 05e262e4df..0000000000 --- a/java/sca/modules/domain-manager/src/main/resources/home-gadget.html +++ /dev/null @@ -1,45 +0,0 @@ - - - -SCA Domain - Home - - - - - - - - -
- -
- - - -
Search:
-
- -
- - - - diff --git a/java/sca/modules/domain-manager/src/main/resources/home.html b/java/sca/modules/domain-manager/src/main/resources/home.html deleted file mode 100644 index aad1856621..0000000000 --- a/java/sca/modules/domain-manager/src/main/resources/home.html +++ /dev/null @@ -1,65 +0,0 @@ - - - -SCA Domain - Home - - - - - - - -
-
- - - SCA Domain - -





- -
- -






-
This page is under construction, searching the domain is not implemented yet.
- - - - - - - - diff --git a/java/sca/modules/domain-manager/src/main/resources/icons/feed-icon.png b/java/sca/modules/domain-manager/src/main/resources/icons/feed-icon.png deleted file mode 100644 index a59728b2ad..0000000000 Binary files a/java/sca/modules/domain-manager/src/main/resources/icons/feed-icon.png and /dev/null differ diff --git a/java/sca/modules/domain-manager/src/main/resources/manager.css b/java/sca/modules/domain-manager/src/main/resources/manager.css deleted file mode 100644 index e080ff1d87..0000000000 --- a/java/sca/modules/domain-manager/src/main/resources/manager.css +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -body { - white-space: nowrap; margin: 2px; -} - -table { - border: 1px; border-collapse: separate -} - -th { - font-weight: bold; white-space: nowrap; background-color: #e5ecf9; color: #598edd; - text-align: left; padding-left: 2px; padding-right: 20px; padding-top: 2px; padding-bottom: 2px; vertical-align: text-top; - border-top: 1px; border-bottom: 1px; border-left: 0px; border-right: 0px; - border-style: solid; border-top-color: #a2bae7; border-bottom-color: #d1d3d4 -} - -td { - padding-left: 2px; padding-top: 2px; padding-right: 20px; white-space: nowrap; vertical-align: text-top -} - -iframe { - visibility: hidden; -} - -input { - vertical-align: middle -} - -a:link { - color: blue -} - -a:visited { - color: blue -} - -.tdw { - padding-left: 2px; padding-top: 2px; padding-right: 20px; white-space: normal; vertical-align: text-top -} - -.hd1 { - font-size:150%; font-weight: bold -} - -.tbar { - margin: 0px; - padding-top: 0px; padding-left: 0px; padding-right: 0px; padding-bottom: 3px; - border-bottom: 1px solid #a2bae7 -} - -.ltbar { - padding-left: 0px; padding-top: 0px; padding-right: 20px; white-space: nowrap; vertical-align: top -} - -.rtbar { - padding-left: 0px; padding-right: 0px; padding-top: 0px; white-space: nowrap; vertical-align: top; - text-align: right -} - -.suggest { - background-color: #e5ecf9; color: #598edd; - border-top: 1px; border-bottom: 1px; border-left: 1px; border-right: 1px; - border-style: solid; border-top-color: #a2bae7; border-bottom-color: #d1d3d4; - border-left-color: #d1d3d4; border-right-color: #d1d3d4; - position: absolute; - overflow: auto; overflow-x: hidden; - cursor: default; - padding: 0px; margin: 0px; -} - -suggestTable { - border: 0px; border-collapse: separate; - padding-left: 5px; padding-right: 5px; padding-top: 2px; padding-bottom: 2px; - margin: 0px; -} - -.suggestItem { - padding-left: 2px; padding-top: 0px; padding-bottom: 0px; padding-right: 2px; white-space: nowrap; vertical-align: text-top; - background-color: #e5ecf9; color: #598edd; -} - -.suggestHilighted { - padding-left: 2px; padding-top: 0px; padding-bottom: 0px; padding-right: 2px; white-space: nowrap; vertical-align: text-top; - background-color: #598edd; color: #e5ecf9; -} - diff --git a/java/sca/modules/domain-manager/src/main/resources/toolbar-gadget.html b/java/sca/modules/domain-manager/src/main/resources/toolbar-gadget.html deleted file mode 100644 index c9389affc3..0000000000 --- a/java/sca/modules/domain-manager/src/main/resources/toolbar-gadget.html +++ /dev/null @@ -1,47 +0,0 @@ - - - -SCA Domain - Toolbar - - - - - - - -
- - - - diff --git a/java/sca/modules/domain-manager/src/main/resources/utils.js b/java/sca/modules/domain-manager/src/main/resources/utils.js deleted file mode 100644 index 77ed807e85..0000000000 --- a/java/sca/modules/domain-manager/src/main/resources/utils.js +++ /dev/null @@ -1,246 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * Autocomplete / suggest support for input fields - * - * To use it declare a 'suggest' function as follows: - * function suggestItems() { - * return new Array('abc', 'def', 'ghi'); - * } - * - * then hook it to an input field as follows: - * suggest(document.yourForm.yourInputField, suggestItems); - */ -function selectSuggestion(node, value) { - for (;;) { - node = node.parentNode; - if (node.tagName.toLowerCase() == 'div') { - break; - } - } - node.selectSuggestion(value); -} - -function hilightSuggestion(node, over) { - if (over) { - node.className = 'suggestHilighted'; - } else { - node.className = 'suggestItem'; - } -} - -function suggest(input, suggestFunction) { - - input.suggest = suggestFunction; - - input.selectSuggestion = function(value) { - this.hideSuggestDiv(); - this.value = value; - } - - input.hideSuggestDiv = function() { - if (this.suggestDiv != null) { - this.suggestDiv.style.visibility = 'hidden'; - } - } - - input.showSuggestDiv = function() { - if (this.suggestDiv == null) { - this.suggestDiv = document.createElement('div'); - this.suggestDiv.input = this; - this.suggestDiv.className = 'suggest'; - input.parentNode.insertBefore(this.suggestDiv, input); - this.suggestDiv.style.visibility = 'hidden'; - this.suggestDiv.style.zIndex = '99'; - - this.suggestDiv.selectSuggestion = function(value) { - this.input.selectSuggestion(value); - } - } - - var values = this.suggest(); - var items = ""; - for (var i = 0; i < values.length; i++) { - if (values[i].indexOf(this.value) == -1) { - continue; - } - if (items.length == 0) { - items += ''; - } - items += ''; - } - if (items.length != 0) { - items += '
' + values[i] + '
'; - } - this.suggestDiv.innerHTML = items; - - if (items.length != 0) { - var node = input; - var left = 0; - var top = 0; - for (;;) { - left += node.offsetLeft; - top += node.offsetTop; - node = node.offsetParent; - if (node.tagName.toLowerCase() == 'body') { - break; - } - } - this.suggestDiv.style.left = left; - this.suggestDiv.style.top = top + input.offsetHeight; - this.suggestDiv.style.visibility = 'visible'; - } else { - this.suggestDiv.style.visibility = 'hidden'; - } - } - - input.onkeydown = function(event) { - this.showSuggestDiv(); - }; - - input.onkeyup = function(event) { - this.showSuggestDiv(); - }; - - input.onmousedown = function(event) { - this.showSuggestDiv(); - }; - - input.onblur = function(event) { - setTimeout(function() { input.hideSuggestDiv(); }, 50); - }; -} - -/** - * A Toolbar class - */ -function Tool(name, href) { - this.name = name; - this.href = href; -} - -Tool.prototype.print = function() { - var loc = '' + location; - if (loc.match(this.href) == null) { - return '' + this.name + ''; - } else { - return '' + this.name + ''; - } -} - -/** - * Initialize the toolbar - */ -function toolbar(home, tools) { - var toolbar = '' + - '' + - '' + - '
'; - - for (var i = 0; i < tools.length; i++) { - toolbar = toolbar + '' - } - - toolbar = toolbar + '
' +tools[i].print() + '
' + - '
' + home.print() + '
'; - - return toolbar; -} - -/** - * Return an non-sparse array from an array or an object. - */ -function array(obj) { - if (obj.length == undefined) { - var a = new Array(); - a[0] = obj; - return a; - } - else { - var a = new Array(); - var n = 0; - for (var i in obj) { - a[n++] = obj[i]; - } - return a; - } -} - -/** - * Dump a Javascript object to the console - */ -function dump(o) { - for (f in o) { - try { - console.log(f + '=' + o[f]); - } catch (e) {} - } -} - -/** - * Return the content document of the given window. - */ -function content(win) { - if (win.document != 'undefined' && win.document != null) { - return win.document; - } else if (win.contentDocument != 'undefined' && win.contentDocument != null) { - return win.contentDocument; - } else { - return null; - } -} - -/** - * Returns a child element with the given id. - */ -function elementByID(node, id) { - for (var i in node.childNodes) { - var child = node.childNodes[i]; - if (child.id == id) { - return child; - } else { - child = elementByID(child, id); - if (child != null) { - return child; - } - } - } - return null; -} - -/** - * Install a gadget. - */ -function gadget(win, doc) { - var ongadget = null; - try { - if (win.parent.ongadget != null && win.parent.ongadget != 'undefined') { - ongadget = win.parent.ongadget; - } - } catch (e) { - } - if (ongadget != null) { - return ongadget(win, doc); - } else { - return doc; - } -} diff --git a/java/sca/modules/domain-manager/src/main/resources/workspace-gadget.html b/java/sca/modules/domain-manager/src/main/resources/workspace-gadget.html deleted file mode 100644 index a4589b42e6..0000000000 --- a/java/sca/modules/domain-manager/src/main/resources/workspace-gadget.html +++ /dev/null @@ -1,232 +0,0 @@ - - - -SCA Domain - Contributions - - - - - - - - -
- -
-
-
- >Add -  Delete -
- - - -
- - - - diff --git a/java/sca/modules/domain-manager/src/main/resources/workspace.html b/java/sca/modules/domain-manager/src/main/resources/workspace.html deleted file mode 100644 index 36c02ab1e6..0000000000 --- a/java/sca/modules/domain-manager/src/main/resources/workspace.html +++ /dev/null @@ -1,65 +0,0 @@ - - - -SCA Domain - Contributions - - - - - - - -
-
- - - SCA Domain

- Contributions 
-
- Here is the list of SCA contributions currently available in your SCA domain. -

- -
- - - - - - - -- cgit v1.2.3