diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-06 01:06:46 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-06 01:06:46 +0000 |
commit | 3e1309dbb69d64d91c328763c7a2dd4a6bcf9427 (patch) | |
tree | 4383fcd49cfe9ca131c34a2efd8d69e911b4aeed /sca-cpp/trunk/modules/edit/palettes/values | |
parent | ce4092ca7f7e16a9a9b9b67da22055012e895c25 (diff) |
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
Diffstat (limited to 'sca-cpp/trunk/modules/edit/palettes/values')
-rw-r--r-- | sca-cpp/trunk/modules/edit/palettes/values/palette.composite | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/edit/palettes/values/palette.composite b/sca-cpp/trunk/modules/edit/palettes/values/palette.composite new file mode 100644 index 0000000000..9a9ed0f087 --- /dev/null +++ b/sca-cpp/trunk/modules/edit/palettes/values/palette.composite @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * 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. +--> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" + xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" + targetNamespace="http://values" + name="palette"> + + <service name="number" promote="number"/> + <service name="text" promote="text"/> + <service name="nothing" promote="nothing"/> + <service name="list" promote="list"/> + <service name="first" promote="first"/> + <service name="rest" promote="rest"/> + <service name="append" promote="append"/> + + <component name="number" t:color="orange1"> + <t:implementation.python script="number.py"/> + <service name="number"/> + <property name="property">0</property> + </component> + + <component name="text" t:color="orange1"> + <t:implementation.python script="text.py"/> + <service name="text"/> + <property name="property">abc</property> + </component> + + <component name="nothing" t:color="orange1"> + <t:implementation.python script="text.py"/> + <service name="nothing"/> + </component> + + <component name="list" t:color="orange1"> + <documentation>list</documentation> + <t:implementation.python script="list_.py"/> + <service name="list"/> + <reference name="rest"/> + <property name="property">abc</property> + </component> + + <component name="first" t:color="orange1"> + <documentation>first of list</documentation> + <t:implementation.python script="first.py"/> + <service name="first"/> + <reference name="value"/> + </component> + + <component name="rest" t:color="orange1"> + <documentation>rest of list</documentation> + <t:implementation.python script="rest.py"/> + <service name="rest"/> + <reference name="value"/> + </component> + + <component name="append" t:color="orange1"> + <documentation>append lists</documentation> + <t:implementation.python script="list_.py"/> + <service name="append"/> + <reference name="first"/> + <reference name="second"/> + </component> + +</composite> |