[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[stp-commits] r3312 - in org.eclipse.stp.sca/trunk: org.eclipse.stp.sca.diagram.frascati org.eclipse.stp.sca.domainmodel.frascati/model org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util org.eclipse.stp.sca.domainmodel.frascati.edit org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/ctool16 org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16 org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider org.eclipse.stp.sca.domainmodel.frascati.editor/src/org/eclipse/stp/sca/domainmodel/frascati/presentation
|
- From: genie@xxxxxxxxxxx
- Date: Mon, 14 Sep 2009 10:29:45 -0400 (EDT)
- Delivered-to: stp-commits@eclipse.org
Author: sdrapeau
Date: 2009-09-14 10:29:44 -0400 (Mon, 14 Sep 2009)
New Revision: 3312
Added:
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/JsonRpcBinding.gif
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/OsgiImplementation.gif
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/RMIBinding.gif
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/RestBinding.gif
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/ScriptImplementation.gif
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/JsonRpcBindingItemProvider.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/OsgiImplementationItemProvider.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/RMIBindingItemProvider.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/RestBindingItemProvider.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/ScriptImplementationItemProvider.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/JsonRpcBinding.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/OsgiImplementation.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/RMIBinding.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/RestBinding.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/ScriptImplementation.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/JsonRpcBindingImpl.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/OsgiImplementationImpl.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/RMIBindingImpl.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/RestBindingImpl.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/ScriptImplementationImpl.java
Removed:
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/ctool16/CreateBaseReference_bindingGroup_JBIBinding.gif
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/ctool16/CreateBaseService_bindingGroup_JBIBinding.gif
Modified:
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.diagram.frascati/plugin.xml
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/plugin.properties
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/DocumentRootItemProvider.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/FractalImplementationItemProvider.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/FrascatiEditPlugin.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/FrascatiItemProviderAdapterFactory.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/JBIBindingItemProvider.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.editor/src/org/eclipse/stp/sca/domainmodel/frascati/presentation/FrascatiActionBarContributor.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.editor/src/org/eclipse/stp/sca/domainmodel/frascati/presentation/FrascatiEditor.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.editor/src/org/eclipse/stp/sca/domainmodel/frascati/presentation/FrascatiEditorPlugin.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.editor/src/org/eclipse/stp/sca/domainmodel/frascati/presentation/FrascatiModelWizard.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/model/frascati.ecore
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/model/frascati.genmodel
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/DocumentRoot.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/FractalImplementation.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/FrascatiFactory.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/FrascatiPackage.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/JBIBinding.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/DocumentRootImpl.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/FractalImplementationImpl.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/FrascatiFactoryImpl.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/FrascatiPackageImpl.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/JBIBindingImpl.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiAdapterFactory.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiResourceFactoryImpl.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiResourceImpl.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiSwitch.java
org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiXMLProcessor.java
Log:
Code of FraSCAti updated with the latest meta model of Frascati.
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.diagram.frascati/plugin.xml
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.diagram.frascati/plugin.xml 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.diagram.frascati/plugin.xml 2009-09-14 14:29:44 UTC (rev 3312)
@@ -32,6 +32,41 @@
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
<param name="semanticHint" value="org.eclipse.stp.sca.diagram.frascati.JBIBinding"/>
</metamodelType>
+ <metamodelType
+ id="org.eclipse.stp.sca.diagram.frascati.OsgiImplementation"
+ name="OsgiImplementation"
+ eclass="OsgiImplementation"
+ kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+ <param name="semanticHint" value="org.eclipse.stp.sca.diagram.frascati.OsgiImplementation"/>
+ </metamodelType>
+ <metamodelType
+ id="org.eclipse.stp.sca.diagram.frascati.ScriptImplementation"
+ name="ScriptImplementation"
+ eclass="ScriptImplementation"
+ kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+ <param name="semanticHint" value="org.eclipse.stp.sca.diagram.frascati.ScriptImplementation"/>
+ </metamodelType>
+ <metamodelType
+ id="org.eclipse.stp.sca.diagram.frascati.RestBinding"
+ name="RestBinding"
+ eclass="RestBinding"
+ kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+ <param name="semanticHint" value="org.eclipse.stp.sca.diagram.frascati.RestBinding"/>
+ </metamodelType>
+ <metamodelType
+ id="org.eclipse.stp.sca.diagram.frascati.RMIBinding"
+ name="RMIBinding"
+ eclass="RMIBinding"
+ kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+ <param name="semanticHint" value="org.eclipse.stp.sca.diagram.frascati.RMIBinding"/>
+ </metamodelType>
+ <metamodelType
+ id="org.eclipse.stp.sca.diagram.frascati.JsonRpcBinding"
+ name="JsonRpcBinding"
+ eclass="JsonRpcBinding"
+ kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
+ <param name="semanticHint" value="org.eclipse.stp.sca.diagram.frascati.JsonRpcBinding"/>
+ </metamodelType>
</metamodel>
</extension>
@@ -52,6 +87,26 @@
<elementType ref="org.eclipse.stp.sca.diagram.frascati.JBIBinding"/>
<advice ref="org.eclipse.gmf.runtime.diagram.core.advice.notationDepdendents"/>
</binding>
+ <binding context="ScaClientContext">
+ <elementType ref="org.eclipse.stp.sca.diagram.frascati.OsgiImplementation"/>
+ <advice ref="org.eclipse.gmf.runtime.diagram.core.advice.notationDepdendents"/>
+ </binding>
+ <binding context="ScaClientContext">
+ <elementType ref="org.eclipse.stp.sca.diagram.frascati.ScriptImplementation"/>
+ <advice ref="org.eclipse.gmf.runtime.diagram.core.advice.notationDepdendents"/>
+ </binding>
+ <binding context="ScaClientContext">
+ <elementType ref="org.eclipse.stp.sca.diagram.frascati.RestBinding"/>
+ <advice ref="org.eclipse.gmf.runtime.diagram.core.advice.notationDepdendents"/>
+ </binding>
+ <binding context="ScaClientContext">
+ <elementType ref="org.eclipse.stp.sca.diagram.frascati.RMIBinding"/>
+ <advice ref="org.eclipse.gmf.runtime.diagram.core.advice.notationDepdendents"/>
+ </binding>
+ <binding context="ScaClientContext">
+ <elementType ref="org.eclipse.stp.sca.diagram.frascati.JsonRpcBinding"/>
+ <advice ref="org.eclipse.gmf.runtime.diagram.core.advice.notationDepdendents"/>
+ </binding>
</extension>
<extension point="org.eclipse.stp.sca.diagram.extension.implementations">
@@ -60,13 +115,48 @@
literalField="DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL"
iconPath="/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/FractalImplementation.gif" />
</extension>
+
+ <extension point="org.eclipse.stp.sca.diagram.extension.implementations">
+ <element typeId="org.eclipse.stp.sca.diagram.frascati.OsgiImplementation"
+ literalClass="org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage$Literals"
+ literalField="DOCUMENT_ROOT__IMPLEMENTATION_OSGI"
+ iconPath="/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/OsgiImplementation.gif" />
+ </extension>
- <extension point="org.eclipse.stp.sca.diagram.extension.bindings">
+ <extension point="org.eclipse.stp.sca.diagram.extension.implementations">
+ <element typeId="org.eclipse.stp.sca.diagram.frascati.ScriptImplementation"
+ literalClass="org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage$Literals"
+ literalField="DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT"
+ iconPath="/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/ScriptImplementation.gif" />
+ </extension>
+
+ <extension point="org.eclipse.stp.sca.diagram.extension.bindings">
<element typeId="org.eclipse.stp.sca.diagram.frascati.JBIBinding"
literalClass="org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage$Literals"
literalField="DOCUMENT_ROOT__BINDING_JBI"
iconPath="/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/JBIBinding.gif" />
</extension>
+
+ <extension point="org.eclipse.stp.sca.diagram.extension.bindings">
+ <element typeId="org.eclipse.stp.sca.diagram.frascati.RestBinding"
+ literalClass="org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage$Literals"
+ literalField="DOCUMENT_ROOT__BINDING_REST"
+ iconPath="/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/RestBinding.gif" />
+ </extension>
+
+ <extension point="org.eclipse.stp.sca.diagram.extension.bindings">
+ <element typeId="org.eclipse.stp.sca.diagram.frascati.RMIBinding"
+ literalClass="org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage$Literals"
+ literalField="DOCUMENT_ROOT__BINDING_RMI"
+ iconPath="/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/RMIBinding.gif" />
+ </extension>
+
+ <extension point="org.eclipse.stp.sca.diagram.extension.bindings">
+ <element typeId="org.eclipse.stp.sca.diagram.frascati.JsonRpcBinding"
+ literalClass="org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage$Literals"
+ literalField="DOCUMENT_ROOT__BINDING_JSON_RPC"
+ iconPath="/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/JsonRpcBinding.gif" />
+ </extension>
<extension point="org.eclipse.stp.sca.diagram.AdaptorFactories">
<adaptorFactory class="org.eclipse.stp.sca.domainmodel.frascati.provider.FrascatiItemProviderAdapterFactory" />
@@ -77,18 +167,63 @@
<implementationEntry
description="Create a new FractalImplementation"
iconPath="/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/FractalImplementation.gif"
- label="Fractal (Frascati 0.4)"
+ label="Fractal (Frascati 1.0)"
type="org.eclipse.stp.sca.diagram.frascati.FractalImplementation">
</implementationEntry>
</extension>
+ <extension point="org.eclipse.stp.sca.diagram.ImplementationEntryPalette">
+ <implementationEntry
+ description="Create a new OsgiImplementation"
+ iconPath="/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/OsgiImplementation.gif"
+ label="Osgi (Frascati 1.0)"
+ type="org.eclipse.stp.sca.diagram.frascati.OsgiImplementation">
+ </implementationEntry>
+ </extension>
+
+ <extension point="org.eclipse.stp.sca.diagram.ImplementationEntryPalette">
+ <implementationEntry
+ description="Create a new ScriptImplementation"
+ iconPath="/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/ScriptImplementation.gif"
+ label="Script (Frascati 1.0)"
+ type="org.eclipse.stp.sca.diagram.frascati.ScriptImplementation">
+ </implementationEntry>
+ </extension>
+
<extension point="org.eclipse.stp.sca.diagram.BindingEntryPalette">
<bindingEntry
description="Create a new JBIBinding"
iconPath="/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/JBIBinding.gif"
- label="JBI (Frascati 0.4)"
+ label="JBI (Frascati 1.0)"
type="org.eclipse.stp.sca.diagram.frascati.JBIBinding">
</bindingEntry>
</extension>
+
+ <extension point="org.eclipse.stp.sca.diagram.BindingEntryPalette">
+ <bindingEntry
+ description="Create a new RestBinding"
+ iconPath="/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/RestBinding.gif"
+ label="Rest (Frascati 1.0)"
+ type="org.eclipse.stp.sca.diagram.frascati.RestBinding">
+ </bindingEntry>
+ </extension>
+
+ <extension point="org.eclipse.stp.sca.diagram.BindingEntryPalette">
+ <bindingEntry
+ description="Create a new RMIBinding"
+ iconPath="/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/RMIBinding.gif"
+ label="RMI (Frascati 1.0)"
+ type="org.eclipse.stp.sca.diagram.frascati.RMIBinding">
+ </bindingEntry>
+ </extension>
+
+ <extension point="org.eclipse.stp.sca.diagram.BindingEntryPalette">
+ <bindingEntry
+ description="Create a new JsonRpcBinding"
+ iconPath="/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/JsonRpcBinding.gif"
+ label="JsonRpc (Frascati 1.0)"
+ type="org.eclipse.stp.sca.diagram.frascati.JsonRpcBinding">
+ </bindingEntry>
+ </extension>
</plugin>
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/model/frascati.ecore
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/model/frascati.ecore 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/model/frascati.ecore 2009-09-14 14:29:44 UTC (rev 3312)
@@ -1,257 +1,257 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="frascati"
- nsURI="http://frascati.ow2.org" nsPrefix="frascati">
- <eClassifiers xsi:type="ecore:EClass" name="JBIBinding" eSuperTypes="../../org.eclipse.stp.sca/model/sca.ecore#//Binding">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="JBIBinding"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="anyAttribute" unique="false"
- upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attributeWildcard"/>
- <details key="wildcards" value="##any"/>
- <details key="name" value=":7"/>
- <details key="processing" value="lax"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="interfaceName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="interfaceNamespace" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="serviceName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="serviceNamespace" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="endpointName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="operationName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="operationNamespace" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="timeout" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="wsdl" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="group" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="group"/>
- <details key="name" value="group:sca:jbibinding"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="FractalImplementation" eSuperTypes="../../org.eclipse.stp.sca/model/sca.ecore#//Implementation">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="FractalImplementation"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="anyAttribute" unique="false"
- upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attributeWildcard"/>
- <details key="wildcards" value="##any"/>
- <details key="name" value=":3"/>
- <details key="processing" value="lax"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="definition" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="group" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="group"/>
- <details key="name" value="group:sca:fractalimplementation"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DocumentRoot" eSuperTypes="../../org.eclipse.stp.sca/model/sca.ecore#//DocumentRoot">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value=""/>
- <details key="kind" value="mixed"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="implementationFractal"
- upperBound="-2" eType="#//FractalImplementation" volatile="true" transient="true"
- derived="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="implementation.fractal"/>
- <details key="namespace" value="##targetNamespace"/>
- <details key="affiliation" value="http://www.osoa.org/xmlns/sca/1.0#implementation"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="bindingJBI" upperBound="-2"
- eType="#//JBIBinding" volatile="true" transient="true" derived="true" containment="true"
- resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="binding.jbi"/>
- <details key="namespace" value="##targetNamespace"/>
- <details key="affiliation" value="http://www.osoa.org/xmlns/sca/1.0#binding"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="implementationOsgi" upperBound="-2"
- eType="#//OsgiImplementation" volatile="true" transient="true" derived="true"
- containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="implementation.osgi"/>
- <details key="namespace" value="##targetNamespace"/>
- <details key="affiliation" value="http://www.osoa.org/xmlns/sca/1.0#implementation"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="implementationScript" upperBound="-2"
- eType="#//ScriptImplementation" volatile="true" transient="true" derived="true"
- containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="implementation.script"/>
- <details key="namespace" value="##targetNamespace"/>
- <details key="affiliation" value="http://www.osoa.org/xmlns/sca/1.0#implementation"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="bindingRest" upperBound="-2"
- eType="#//RestBinding" volatile="true" transient="true" derived="true" containment="true"
- resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="binding.rest"/>
- <details key="namespace" value="##targetNamespace"/>
- <details key="affiliation" value="http://www.osoa.org/xmlns/sca/1.0#binding"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="bindingRmi" upperBound="-2"
- eType="#//RMIBinding" volatile="true" transient="true" derived="true" containment="true"
- resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="binding.rmi"/>
- <details key="namespace" value="##targetNamespace"/>
- <details key="affiliation" value="http://www.osoa.org/xmlns/sca/1.0#binding"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="bindingJsonRpc" upperBound="-2"
- eType="#//JsonRpcBinding" volatile="true" transient="true" derived="true"
- containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="binding.jsonrpc"/>
- <details key="namespace" value="##targetNamespace"/>
- <details key="affiliation" value="http://www.osoa.org/xmlns/sca/1.0#binding"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="OsgiImplementation" eSuperTypes="../../org.eclipse.stp.sca/model/sca.ecore#//Implementation">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="OsgiImplementation"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="bundle" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="anyAttribute" unique="false"
- upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attributeWildcard"/>
- <details key="wildcards" value="##any"/>
- <details key="name" value=":3"/>
- <details key="processing" value="lax"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="group" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="group"/>
- <details key="name" value="group:sca:osgiimplementation"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ScriptImplementation" eSuperTypes="../../org.eclipse.stp.sca/model/sca.ecore#//Implementation">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="ScriptImplementation"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="script" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
- defaultValueLiteral=""/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="language" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
- defaultValueLiteral=""/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="anyAttribute" unique="false"
- upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attributeWildcard"/>
- <details key="wildcards" value="##any"/>
- <details key="name" value=":3"/>
- <details key="processing" value="lax"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="group" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="group"/>
- <details key="name" value="group:sca:scriptimplementation"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="RestBinding" eSuperTypes="../../org.eclipse.stp.sca/model/sca.ecore#//Binding">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="RestBinding"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="anyAttribute" unique="false"
- upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attributeWildcard"/>
- <details key="wildcards" value="##any"/>
- <details key="name" value=":3"/>
- <details key="processing" value="lax"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="group" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="group"/>
- <details key="name" value="group:sca:restbinding"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="RMIBinding" eSuperTypes="../../org.eclipse.stp.sca/model/sca.ecore#//Binding">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="RMIBinding"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="host" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="serviceName" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="port" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="anyAttribute" unique="false"
- upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attributeWildcard"/>
- <details key="wildcards" value="##any"/>
- <details key="name" value=":3"/>
- <details key="processing" value="lax"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="group" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="group"/>
- <details key="name" value="group:sca:rmibinding"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="JsonRpcBinding" eSuperTypes="../../org.eclipse.stp.sca/model/sca.ecore#//Binding">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="JsonRpcBinding"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="anyAttribute" unique="false"
- upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attributeWildcard"/>
- <details key="wildcards" value="##any"/>
- <details key="name" value=":3"/>
- <details key="processing" value="lax"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="group" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="group"/>
- <details key="name" value="group:sca:jsonrpcbinding"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="frascati"
+ nsURI="http://frascati.ow2.org" nsPrefix="frascati">
+ <eClassifiers xsi:type="ecore:EClass" name="JBIBinding" eSuperTypes="../../org.eclipse.stp.sca/model/sca.ecore#//Binding">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="JBIBinding"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="anyAttribute" unique="false"
+ upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attributeWildcard"/>
+ <details key="wildcards" value="##any"/>
+ <details key="name" value=":7"/>
+ <details key="processing" value="lax"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="interfaceName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="interfaceNamespace" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="serviceName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="serviceNamespace" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="endpointName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="operationName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="operationNamespace" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="timeout" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="wsdl" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="group" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="group"/>
+ <details key="name" value="group:sca:jbibinding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FractalImplementation" eSuperTypes="../../org.eclipse.stp.sca/model/sca.ecore#//Implementation">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="FractalImplementation"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="anyAttribute" unique="false"
+ upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attributeWildcard"/>
+ <details key="wildcards" value="##any"/>
+ <details key="name" value=":3"/>
+ <details key="processing" value="lax"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="definition" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="group" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="group"/>
+ <details key="name" value="group:sca:fractalimplementation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DocumentRoot" eSuperTypes="../../org.eclipse.stp.sca/model/sca.ecore#//DocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="implementationFractal"
+ upperBound="-2" eType="#//FractalImplementation" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="implementation.fractal"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.osoa.org/xmlns/sca/1.0#implementation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="bindingJBI" upperBound="-2"
+ eType="#//JBIBinding" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="binding.jbi"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.osoa.org/xmlns/sca/1.0#binding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="implementationOsgi" upperBound="-2"
+ eType="#//OsgiImplementation" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="implementation.osgi"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.osoa.org/xmlns/sca/1.0#implementation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="implementationScript" upperBound="-2"
+ eType="#//ScriptImplementation" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="implementation.script"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.osoa.org/xmlns/sca/1.0#implementation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="bindingRest" upperBound="-2"
+ eType="#//RestBinding" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="binding.rest"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.osoa.org/xmlns/sca/1.0#binding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="bindingRmi" upperBound="-2"
+ eType="#//RMIBinding" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="binding.rmi"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.osoa.org/xmlns/sca/1.0#binding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="bindingJsonRpc" upperBound="-2"
+ eType="#//JsonRpcBinding" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="binding.jsonrpc"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.osoa.org/xmlns/sca/1.0#binding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="OsgiImplementation" eSuperTypes="../../org.eclipse.stp.sca/model/sca.ecore#//Implementation">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="OsgiImplementation"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="bundle" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="anyAttribute" unique="false"
+ upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attributeWildcard"/>
+ <details key="wildcards" value="##any"/>
+ <details key="name" value=":3"/>
+ <details key="processing" value="lax"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="group" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="group"/>
+ <details key="name" value="group:sca:osgiimplementation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ScriptImplementation" eSuperTypes="../../org.eclipse.stp.sca/model/sca.ecore#//Implementation">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="ScriptImplementation"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="script" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral=""/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="language" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral=""/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="anyAttribute" unique="false"
+ upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attributeWildcard"/>
+ <details key="wildcards" value="##any"/>
+ <details key="name" value=":3"/>
+ <details key="processing" value="lax"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="group" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="group"/>
+ <details key="name" value="group:sca:scriptimplementation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="RestBinding" eSuperTypes="../../org.eclipse.stp.sca/model/sca.ecore#//Binding">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="RestBinding"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="anyAttribute" unique="false"
+ upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attributeWildcard"/>
+ <details key="wildcards" value="##any"/>
+ <details key="name" value=":3"/>
+ <details key="processing" value="lax"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="group" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="group"/>
+ <details key="name" value="group:sca:restbinding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="RMIBinding" eSuperTypes="../../org.eclipse.stp.sca/model/sca.ecore#//Binding">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="RMIBinding"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="host" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="serviceName" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="port" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="anyAttribute" unique="false"
+ upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attributeWildcard"/>
+ <details key="wildcards" value="##any"/>
+ <details key="name" value=":3"/>
+ <details key="processing" value="lax"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="group" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="group"/>
+ <details key="name" value="group:sca:rmibinding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="JsonRpcBinding" eSuperTypes="../../org.eclipse.stp.sca/model/sca.ecore#//Binding">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="JsonRpcBinding"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="anyAttribute" unique="false"
+ upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attributeWildcard"/>
+ <details key="wildcards" value="##any"/>
+ <details key="name" value=":3"/>
+ <details key="processing" value="lax"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="group" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="group"/>
+ <details key="name" value="group:sca:jsonrpcbinding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/model/frascati.genmodel
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/model/frascati.genmodel 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/model/frascati.genmodel 2009-09-14 14:29:44 UTC (rev 3312)
@@ -29,6 +29,37 @@
<genClasses ecoreClass="frascati.ecore#//DocumentRoot">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference frascati.ecore#//DocumentRoot/implementationFractal"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference frascati.ecore#//DocumentRoot/bindingJBI"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference frascati.ecore#//DocumentRoot/implementationOsgi"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference frascati.ecore#//DocumentRoot/implementationScript"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference frascati.ecore#//DocumentRoot/bindingRest"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference frascati.ecore#//DocumentRoot/bindingRmi"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference frascati.ecore#//DocumentRoot/bindingJsonRpc"/>
</genClasses>
+ <genClasses ecoreClass="frascati.ecore#//OsgiImplementation">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute frascati.ecore#//OsgiImplementation/bundle"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute frascati.ecore#//OsgiImplementation/anyAttribute"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute frascati.ecore#//OsgiImplementation/group"/>
+ </genClasses>
+ <genClasses ecoreClass="frascati.ecore#//ScriptImplementation">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute frascati.ecore#//ScriptImplementation/script"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute frascati.ecore#//ScriptImplementation/language"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute frascati.ecore#//ScriptImplementation/anyAttribute"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute frascati.ecore#//ScriptImplementation/group"/>
+ </genClasses>
+ <genClasses ecoreClass="frascati.ecore#//RestBinding">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute frascati.ecore#//RestBinding/anyAttribute"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute frascati.ecore#//RestBinding/group"/>
+ </genClasses>
+ <genClasses ecoreClass="frascati.ecore#//RMIBinding">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute frascati.ecore#//RMIBinding/host"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute frascati.ecore#//RMIBinding/serviceName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute frascati.ecore#//RMIBinding/port"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute frascati.ecore#//RMIBinding/anyAttribute"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute frascati.ecore#//RMIBinding/group"/>
+ </genClasses>
+ <genClasses ecoreClass="frascati.ecore#//JsonRpcBinding">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute frascati.ecore#//JsonRpcBinding/anyAttribute"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute frascati.ecore#//JsonRpcBinding/group"/>
+ </genClasses>
</genPackages>
</genmodel:GenModel>
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/DocumentRoot.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/DocumentRoot.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/DocumentRoot.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -14,40 +14,39 @@
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Document Root</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getImplementationFractal
- * <em>Implementation Fractal</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingJBI
- * <em>Binding JBI</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getImplementationFractal <em>Implementation Fractal</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingJBI <em>Binding JBI</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getImplementationOsgi <em>Implementation Osgi</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getImplementationScript <em>Implementation Script</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingRest <em>Binding Rest</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingRmi <em>Binding Rmi</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingJsonRpc <em>Binding Json Rpc</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getDocumentRoot()
* @model extendedMetaData="name='' kind='mixed'"
* @generated
*/
public interface DocumentRoot extends org.eclipse.stp.sca.DocumentRoot {
/**
- * Returns the value of the '<em><b>Implementation Fractal</b></em>'
- * containment reference. <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Implementation Fractal</b></em>' containment reference.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Implementation Fractal</em>' containment
* reference isn't clear, there really should be more of a description
* here...
* </p>
* <!-- end-user-doc -->
- *
- * @return the value of the '<em>Implementation Fractal</em>' containment
- * reference.
+ * @return the value of the '<em>Implementation Fractal</em>' containment reference.
* @see #setImplementationFractal(FractalImplementation)
* @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getDocumentRoot_ImplementationFractal()
- * @model containment="true" upper="-2" transient="true" volatile="true"
- * derived="true" extendedMetaData="kind='element' name='implementation.fractal' namespace='##targetNamespace' affiliation='http://www.osoa.org/xmlns/sca/1.0#implementation'"
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='implementation.fractal' namespace='##targetNamespace' affiliation='http://www.osoa.org/xmlns/sca/1.0#implementation'"
* @generated
*/
FractalImplementation getImplementationFractal();
@@ -67,35 +66,165 @@
void setImplementationFractal(FractalImplementation value);
/**
- * Returns the value of the '<em><b>Binding JBI</b></em>' containment
- * reference. <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Binding JBI</b></em>' containment reference.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Binding JBI</em>' containment reference isn't
* clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Binding JBI</em>' containment reference.
* @see #setBindingJBI(JBIBinding)
* @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getDocumentRoot_BindingJBI()
- * @model containment="true" upper="-2" transient="true" volatile="true"
- * derived="true" extendedMetaData="kind='element' name='binding.jbi' namespace='##targetNamespace' affiliation='http://www.osoa.org/xmlns/sca/1.0#binding'"
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='binding.jbi' namespace='##targetNamespace' affiliation='http://www.osoa.org/xmlns/sca/1.0#binding'"
* @generated
*/
JBIBinding getBindingJBI();
/**
- * Sets the value of the '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingJBI
- * <em>Binding JBI</em>}' containment reference. <!-- begin-user-doc -->
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingJBI <em>Binding JBI</em>}' containment reference.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Binding JBI</em>' containment
- * reference.
+ * @param value the new value of the '<em>Binding JBI</em>' containment reference.
* @see #getBindingJBI()
* @generated
*/
void setBindingJBI(JBIBinding value);
+ /**
+ * Returns the value of the '<em><b>Implementation Osgi</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Implementation Osgi</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Implementation Osgi</em>' containment reference.
+ * @see #setImplementationOsgi(OsgiImplementation)
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getDocumentRoot_ImplementationOsgi()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='implementation.osgi' namespace='##targetNamespace' affiliation='http://www.osoa.org/xmlns/sca/1.0#implementation'"
+ * @generated
+ */
+ OsgiImplementation getImplementationOsgi();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getImplementationOsgi <em>Implementation Osgi</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Implementation Osgi</em>' containment reference.
+ * @see #getImplementationOsgi()
+ * @generated
+ */
+ void setImplementationOsgi(OsgiImplementation value);
+
+ /**
+ * Returns the value of the '<em><b>Implementation Script</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Implementation Script</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Implementation Script</em>' containment reference.
+ * @see #setImplementationScript(ScriptImplementation)
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getDocumentRoot_ImplementationScript()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='implementation.script' namespace='##targetNamespace' affiliation='http://www.osoa.org/xmlns/sca/1.0#implementation'"
+ * @generated
+ */
+ ScriptImplementation getImplementationScript();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getImplementationScript <em>Implementation Script</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Implementation Script</em>' containment reference.
+ * @see #getImplementationScript()
+ * @generated
+ */
+ void setImplementationScript(ScriptImplementation value);
+
+ /**
+ * Returns the value of the '<em><b>Binding Rest</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Binding Rest</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Binding Rest</em>' containment reference.
+ * @see #setBindingRest(RestBinding)
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getDocumentRoot_BindingRest()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='binding.rest' namespace='##targetNamespace' affiliation='http://www.osoa.org/xmlns/sca/1.0#binding'"
+ * @generated
+ */
+ RestBinding getBindingRest();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingRest <em>Binding Rest</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Binding Rest</em>' containment reference.
+ * @see #getBindingRest()
+ * @generated
+ */
+ void setBindingRest(RestBinding value);
+
+ /**
+ * Returns the value of the '<em><b>Binding Rmi</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Binding Rmi</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Binding Rmi</em>' containment reference.
+ * @see #setBindingRmi(RMIBinding)
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getDocumentRoot_BindingRmi()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='binding.rmi' namespace='##targetNamespace' affiliation='http://www.osoa.org/xmlns/sca/1.0#binding'"
+ * @generated
+ */
+ RMIBinding getBindingRmi();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingRmi <em>Binding Rmi</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Binding Rmi</em>' containment reference.
+ * @see #getBindingRmi()
+ * @generated
+ */
+ void setBindingRmi(RMIBinding value);
+
+ /**
+ * Returns the value of the '<em><b>Binding Json Rpc</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Binding Json Rpc</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Binding Json Rpc</em>' containment reference.
+ * @see #setBindingJsonRpc(JsonRpcBinding)
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getDocumentRoot_BindingJsonRpc()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='binding.jsonrpc' namespace='##targetNamespace' affiliation='http://www.osoa.org/xmlns/sca/1.0#binding'"
+ * @generated
+ */
+ JsonRpcBinding getBindingJsonRpc();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingJsonRpc <em>Binding Json Rpc</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Binding Json Rpc</em>' containment reference.
+ * @see #getBindingJsonRpc()
+ * @generated
+ */
+ void setBindingJsonRpc(JsonRpcBinding value);
+
} // DocumentRoot
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/FractalImplementation.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/FractalImplementation.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/FractalImplementation.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -17,22 +17,16 @@
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Fractal Implementation</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation#getAnyAttribute
- * <em>Any Attribute</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation#getDefinition
- * <em>Definition</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation#getGroup
- * <em>Group</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation#getAnyAttribute <em>Any Attribute</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation#getDefinition <em>Definition</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation#getGroup <em>Group</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getFractalImplementation()
* @model extendedMetaData="name='FractalImplementation' kind='elementOnly'"
* @generated
@@ -40,20 +34,18 @@
public interface FractalImplementation extends Implementation {
/**
* Returns the value of the '<em><b>Any Attribute</b></em>' attribute list.
- * The list contents are of type
- * {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. <!-- begin-user-doc
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc
* -->
* <p>
* If the meaning of the '<em>Any Attribute</em>' attribute list isn't
* clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Any Attribute</em>' attribute list.
* @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getFractalImplementation_AnyAttribute()
- * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry"
- * many="true" extendedMetaData=
- * "kind='attributeWildcard' wildcards='##any' name=':3' processing='lax'"
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='attributeWildcard' wildcards='##any' name=':3' processing='lax'"
* @generated
*/
FeatureMap getAnyAttribute();
@@ -76,32 +68,27 @@
String getDefinition();
/**
- * Sets the value of the '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation#getDefinition
- * <em>Definition</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation#getDefinition <em>Definition</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Definition</em>' attribute.
+ * @param value the new value of the '<em>Definition</em>' attribute.
* @see #getDefinition()
* @generated
*/
void setDefinition(String value);
/**
- * Returns the value of the '<em><b>Group</b></em>' attribute list. The list
- * contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * Returns the value of the '<em><b>Group</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Group</em>' attribute list isn't clear, there
* really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Group</em>' attribute list.
* @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getFractalImplementation_Group()
- * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry"
- * many="true"
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
* extendedMetaData="kind='group' name='group:sca:fractalimplementation'"
* @generated
*/
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/FrascatiFactory.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/FrascatiFactory.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/FrascatiFactory.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -16,24 +16,22 @@
/**
* <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a
* create method for each non-abstract class of the model. <!-- end-user-doc -->
- *
* @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage
* @generated
*/
public interface FrascatiFactory extends EFactory {
/**
- * The singleton instance of the factory. <!-- begin-user-doc --> <!--
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
- FrascatiFactory eINSTANCE = org.eclipse.stp.sca.domainmodel.frascati.impl.FrascatiFactoryImpl
- .init();
+ FrascatiFactory eINSTANCE = org.eclipse.stp.sca.domainmodel.frascati.impl.FrascatiFactoryImpl.init();
/**
- * Returns a new object of class '<em>JBI Binding</em>'. <!-- begin-user-doc
+ * Returns a new object of class '<em>JBI Binding</em>'.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @return a new object of class '<em>JBI Binding</em>'.
* @generated
*/
@@ -58,9 +56,54 @@
DocumentRoot createDocumentRoot();
/**
- * Returns the package supported by this factory. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Osgi Implementation</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ * @return a new object of class '<em>Osgi Implementation</em>'.
+ * @generated
+ */
+ OsgiImplementation createOsgiImplementation();
+
+ /**
+ * Returns a new object of class '<em>Script Implementation</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Script Implementation</em>'.
+ * @generated
+ */
+ ScriptImplementation createScriptImplementation();
+
+ /**
+ * Returns a new object of class '<em>Rest Binding</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Rest Binding</em>'.
+ * @generated
+ */
+ RestBinding createRestBinding();
+
+ /**
+ * Returns a new object of class '<em>RMI Binding</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>RMI Binding</em>'.
+ * @generated
+ */
+ RMIBinding createRMIBinding();
+
+ /**
+ * Returns a new object of class '<em>Json Rpc Binding</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Json Rpc Binding</em>'.
+ * @generated
+ */
+ JsonRpcBinding createJsonRpcBinding();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @return the package supported by this factory.
* @generated
*/
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/FrascatiPackage.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/FrascatiPackage.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/FrascatiPackage.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -27,41 +27,39 @@
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
* @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiFactory
* @model kind="package"
* @generated
*/
public interface FrascatiPackage extends EPackage {
/**
- * The package name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The package name.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
String eNAME = "frascati"; //$NON-NLS-1$
/**
- * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The package namespace URI.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
String eNS_URI = "http://frascati.ow2.org"; //$NON-NLS-1$
/**
- * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The package namespace name.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
String eNS_PREFIX = "frascati"; //$NON-NLS-1$
/**
- * The singleton instance of the package. <!-- begin-user-doc --> <!--
+ * The singleton instance of the package.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
- FrascatiPackage eINSTANCE = org.eclipse.stp.sca.domainmodel.frascati.impl.FrascatiPackageImpl
- .init();
+ FrascatiPackage eINSTANCE = org.eclipse.stp.sca.domainmodel.frascati.impl.FrascatiPackageImpl.init();
/**
* The meta object id for the '
@@ -76,9 +74,8 @@
int JBI_BINDING = 0;
/**
- * The feature id for the '<em><b>Operation</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Operation</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -123,7 +120,6 @@
/**
* The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -141,7 +137,6 @@
/**
* The feature id for the '<em><b>Interface Namespace</b></em>' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -159,7 +154,6 @@
/**
* The feature id for the '<em><b>Service Namespace</b></em>' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -186,7 +180,6 @@
/**
* The feature id for the '<em><b>Operation Namespace</b></em>' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -222,18 +215,15 @@
/**
* The number of structural features of the '<em>JBI Binding</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int JBI_BINDING_FEATURE_COUNT = ScaPackage.BINDING_FEATURE_COUNT + 11;
/**
- * The meta object id for the '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.FractalImplementationImpl
- * <em>Fractal Implementation</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object id for the '{@link org.eclipse.stp.sca.domainmodel.frascati.impl.FractalImplementationImpl <em>Fractal Implementation</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.stp.sca.domainmodel.frascati.impl.FractalImplementationImpl
* @see org.eclipse.stp.sca.domainmodel.frascati.impl.FrascatiPackageImpl#getFractalImplementation()
* @generated
@@ -261,7 +251,6 @@
/**
* The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -286,9 +275,8 @@
int FRACTAL_IMPLEMENTATION__GROUP = ScaPackage.IMPLEMENTATION_FEATURE_COUNT + 2;
/**
- * The number of structural features of the '<em>Fractal Implementation</em>
- * ' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The number of structural features of the '<em>Fractal Implementation</em>' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -336,25 +324,22 @@
/**
* The feature id for the '<em><b>Allow</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int DOCUMENT_ROOT__ALLOW = ScaPackage.DOCUMENT_ROOT__ALLOW;
/**
- * The feature id for the '<em><b>Base Export</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Base Export</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__BASE_EXPORT = ScaPackage.DOCUMENT_ROOT__BASE_EXPORT;
/**
- * The feature id for the '<em><b>Base Import</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Base Import</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -363,52 +348,46 @@
/**
* The feature id for the '<em><b>Binding</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int DOCUMENT_ROOT__BINDING = ScaPackage.DOCUMENT_ROOT__BINDING;
/**
- * The feature id for the '<em><b>Binding Ejb</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Binding Ejb</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__BINDING_EJB = ScaPackage.DOCUMENT_ROOT__BINDING_EJB;
/**
- * The feature id for the '<em><b>Binding Jms</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Binding Jms</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__BINDING_JMS = ScaPackage.DOCUMENT_ROOT__BINDING_JMS;
/**
- * The feature id for the '<em><b>Binding Sca</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Binding Sca</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__BINDING_SCA = ScaPackage.DOCUMENT_ROOT__BINDING_SCA;
/**
- * The feature id for the '<em><b>Binding Ws</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Binding Ws</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__BINDING_WS = ScaPackage.DOCUMENT_ROOT__BINDING_WS;
/**
- * The feature id for the '<em><b>Binding Type</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Binding Type</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -417,16 +396,14 @@
/**
* The feature id for the '<em><b>Callback</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int DOCUMENT_ROOT__CALLBACK = ScaPackage.DOCUMENT_ROOT__CALLBACK;
/**
- * The feature id for the '<em><b>Component Type</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Component Type</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -435,34 +412,30 @@
/**
* The feature id for the '<em><b>Composite</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int DOCUMENT_ROOT__COMPOSITE = ScaPackage.DOCUMENT_ROOT__COMPOSITE;
/**
- * The feature id for the '<em><b>Constraining Type</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Constraining Type</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__CONSTRAINING_TYPE = ScaPackage.DOCUMENT_ROOT__CONSTRAINING_TYPE;
/**
- * The feature id for the '<em><b>Contribution</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Contribution</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__CONTRIBUTION = ScaPackage.DOCUMENT_ROOT__CONTRIBUTION;
/**
- * The feature id for the '<em><b>Definitions</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Definitions</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -471,7 +444,6 @@
/**
* The feature id for the '<em><b>Deny All</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -480,106 +452,94 @@
/**
* The feature id for the '<em><b>Export</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int DOCUMENT_ROOT__EXPORT = ScaPackage.DOCUMENT_ROOT__EXPORT;
/**
- * The feature id for the '<em><b>Export Java</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Export Java</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__EXPORT_JAVA = ScaPackage.DOCUMENT_ROOT__EXPORT_JAVA;
/**
- * The feature id for the '<em><b>Export Resource</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Export Resource</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__EXPORT_RESOURCE = ScaPackage.DOCUMENT_ROOT__EXPORT_RESOURCE;
/**
- * The feature id for the '<em><b>Implementation</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Implementation</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__IMPLEMENTATION = ScaPackage.DOCUMENT_ROOT__IMPLEMENTATION;
/**
- * The feature id for the '<em><b>Implementation Bpel</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Implementation Bpel</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__IMPLEMENTATION_BPEL = ScaPackage.DOCUMENT_ROOT__IMPLEMENTATION_BPEL;
/**
- * The feature id for the '<em><b>Implementation Composite</b></em>'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Implementation Composite</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__IMPLEMENTATION_COMPOSITE = ScaPackage.DOCUMENT_ROOT__IMPLEMENTATION_COMPOSITE;
/**
- * The feature id for the '<em><b>Implementation Cpp</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Implementation Cpp</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__IMPLEMENTATION_CPP = ScaPackage.DOCUMENT_ROOT__IMPLEMENTATION_CPP;
/**
- * The feature id for the '<em><b>Implementation Ejb</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Implementation Ejb</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__IMPLEMENTATION_EJB = ScaPackage.DOCUMENT_ROOT__IMPLEMENTATION_EJB;
/**
- * The feature id for the '<em><b>Implementation Java</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Implementation Java</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__IMPLEMENTATION_JAVA = ScaPackage.DOCUMENT_ROOT__IMPLEMENTATION_JAVA;
/**
- * The feature id for the '<em><b>Implementation Spring</b></em>'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Implementation Spring</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__IMPLEMENTATION_SPRING = ScaPackage.DOCUMENT_ROOT__IMPLEMENTATION_SPRING;
/**
- * The feature id for the '<em><b>Implementation Web</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Implementation Web</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__IMPLEMENTATION_WEB = ScaPackage.DOCUMENT_ROOT__IMPLEMENTATION_WEB;
/**
- * The feature id for the '<em><b>Implementation Type</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Implementation Type</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -588,25 +548,22 @@
/**
* The feature id for the '<em><b>Import</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int DOCUMENT_ROOT__IMPORT = ScaPackage.DOCUMENT_ROOT__IMPORT;
/**
- * The feature id for the '<em><b>Import Java</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Import Java</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__IMPORT_JAVA = ScaPackage.DOCUMENT_ROOT__IMPORT_JAVA;
/**
- * The feature id for the '<em><b>Import Resource</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Import Resource</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -615,7 +572,6 @@
/**
* The feature id for the '<em><b>Include</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -624,7 +580,6 @@
/**
* The feature id for the '<em><b>Intent</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -633,61 +588,54 @@
/**
* The feature id for the '<em><b>Interface</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int DOCUMENT_ROOT__INTERFACE = ScaPackage.DOCUMENT_ROOT__INTERFACE;
/**
- * The feature id for the '<em><b>Interface Cpp</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Interface Cpp</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__INTERFACE_CPP = ScaPackage.DOCUMENT_ROOT__INTERFACE_CPP;
/**
- * The feature id for the '<em><b>Interface Java</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Interface Java</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__INTERFACE_JAVA = ScaPackage.DOCUMENT_ROOT__INTERFACE_JAVA;
/**
- * The feature id for the '<em><b>Interface Partner Link Type</b></em>'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Interface Partner Link Type</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__INTERFACE_PARTNER_LINK_TYPE = ScaPackage.DOCUMENT_ROOT__INTERFACE_PARTNER_LINK_TYPE;
/**
- * The feature id for the '<em><b>Interface Wsdl</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Interface Wsdl</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__INTERFACE_WSDL = ScaPackage.DOCUMENT_ROOT__INTERFACE_WSDL;
/**
- * The feature id for the '<em><b>Permit All</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Permit All</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__PERMIT_ALL = ScaPackage.DOCUMENT_ROOT__PERMIT_ALL;
/**
- * The feature id for the '<em><b>Policy Set</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Policy Set</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -696,7 +644,6 @@
/**
* The feature id for the '<em><b>Run As</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -705,7 +652,6 @@
/**
* The feature id for the '<em><b>Ends Conversation</b></em>' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -721,46 +667,495 @@
int DOCUMENT_ROOT__REQUIRES = ScaPackage.DOCUMENT_ROOT__REQUIRES;
/**
- * The feature id for the '<em><b>Anyextension</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Anyextension</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__ANYEXTENSION = ScaPackage.DOCUMENT_ROOT__ANYEXTENSION;
/**
- * The feature id for the '<em><b>Implementation Fractal</b></em>'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Implementation Fractal</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL = ScaPackage.DOCUMENT_ROOT_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Binding JBI</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Binding JBI</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DOCUMENT_ROOT__BINDING_JBI = ScaPackage.DOCUMENT_ROOT_FEATURE_COUNT + 1;
/**
+ * The feature id for the '<em><b>Implementation Osgi</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__IMPLEMENTATION_OSGI = ScaPackage.DOCUMENT_ROOT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Implementation Script</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT = ScaPackage.DOCUMENT_ROOT_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Binding Rest</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__BINDING_REST = ScaPackage.DOCUMENT_ROOT_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Binding Rmi</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__BINDING_RMI = ScaPackage.DOCUMENT_ROOT_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Binding Json Rpc</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__BINDING_JSON_RPC = ScaPackage.DOCUMENT_ROOT_FEATURE_COUNT + 6;
+
+ /**
* The number of structural features of the '<em>Document Root</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int DOCUMENT_ROOT_FEATURE_COUNT = ScaPackage.DOCUMENT_ROOT_FEATURE_COUNT + 2;
+ int DOCUMENT_ROOT_FEATURE_COUNT = ScaPackage.DOCUMENT_ROOT_FEATURE_COUNT + 7;
/**
- * Returns the meta object for class '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding
- * <em>JBI Binding</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object id for the '{@link org.eclipse.stp.sca.domainmodel.frascati.impl.OsgiImplementationImpl <em>Osgi Implementation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.OsgiImplementationImpl
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.FrascatiPackageImpl#getOsgiImplementation()
+ * @generated
+ */
+ int OSGI_IMPLEMENTATION = 3;
+
+ /**
+ * The feature id for the '<em><b>Policy Sets</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OSGI_IMPLEMENTATION__POLICY_SETS = ScaPackage.IMPLEMENTATION__POLICY_SETS;
+
+ /**
+ * The feature id for the '<em><b>Requires</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OSGI_IMPLEMENTATION__REQUIRES = ScaPackage.IMPLEMENTATION__REQUIRES;
+
+ /**
+ * The feature id for the '<em><b>Bundle</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OSGI_IMPLEMENTATION__BUNDLE = ScaPackage.IMPLEMENTATION_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OSGI_IMPLEMENTATION__ANY_ATTRIBUTE = ScaPackage.IMPLEMENTATION_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Group</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OSGI_IMPLEMENTATION__GROUP = ScaPackage.IMPLEMENTATION_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Osgi Implementation</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OSGI_IMPLEMENTATION_FEATURE_COUNT = ScaPackage.IMPLEMENTATION_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.stp.sca.domainmodel.frascati.impl.ScriptImplementationImpl <em>Script Implementation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.ScriptImplementationImpl
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.FrascatiPackageImpl#getScriptImplementation()
+ * @generated
+ */
+ int SCRIPT_IMPLEMENTATION = 4;
+
+ /**
+ * The feature id for the '<em><b>Policy Sets</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_IMPLEMENTATION__POLICY_SETS = ScaPackage.IMPLEMENTATION__POLICY_SETS;
+
+ /**
+ * The feature id for the '<em><b>Requires</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_IMPLEMENTATION__REQUIRES = ScaPackage.IMPLEMENTATION__REQUIRES;
+
+ /**
+ * The feature id for the '<em><b>Script</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_IMPLEMENTATION__SCRIPT = ScaPackage.IMPLEMENTATION_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Language</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_IMPLEMENTATION__LANGUAGE = ScaPackage.IMPLEMENTATION_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_IMPLEMENTATION__ANY_ATTRIBUTE = ScaPackage.IMPLEMENTATION_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Group</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_IMPLEMENTATION__GROUP = ScaPackage.IMPLEMENTATION_FEATURE_COUNT + 3;
+
+ /**
+ * The number of structural features of the '<em>Script Implementation</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SCRIPT_IMPLEMENTATION_FEATURE_COUNT = ScaPackage.IMPLEMENTATION_FEATURE_COUNT + 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.stp.sca.domainmodel.frascati.impl.RestBindingImpl <em>Rest Binding</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.RestBindingImpl
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.FrascatiPackageImpl#getRestBinding()
+ * @generated
+ */
+ int REST_BINDING = 5;
+
+ /**
+ * The feature id for the '<em><b>Operation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REST_BINDING__OPERATION = ScaPackage.BINDING__OPERATION;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REST_BINDING__NAME = ScaPackage.BINDING__NAME;
+
+ /**
+ * The feature id for the '<em><b>Policy Sets</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REST_BINDING__POLICY_SETS = ScaPackage.BINDING__POLICY_SETS;
+
+ /**
+ * The feature id for the '<em><b>Requires</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REST_BINDING__REQUIRES = ScaPackage.BINDING__REQUIRES;
+
+ /**
+ * The feature id for the '<em><b>Uri</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REST_BINDING__URI = ScaPackage.BINDING__URI;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REST_BINDING__ANY_ATTRIBUTE = ScaPackage.BINDING_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Group</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REST_BINDING__GROUP = ScaPackage.BINDING_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Rest Binding</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REST_BINDING_FEATURE_COUNT = ScaPackage.BINDING_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.stp.sca.domainmodel.frascati.impl.RMIBindingImpl <em>RMI Binding</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.RMIBindingImpl
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.FrascatiPackageImpl#getRMIBinding()
+ * @generated
+ */
+ int RMI_BINDING = 6;
+
+ /**
+ * The feature id for the '<em><b>Operation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RMI_BINDING__OPERATION = ScaPackage.BINDING__OPERATION;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RMI_BINDING__NAME = ScaPackage.BINDING__NAME;
+
+ /**
+ * The feature id for the '<em><b>Policy Sets</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RMI_BINDING__POLICY_SETS = ScaPackage.BINDING__POLICY_SETS;
+
+ /**
+ * The feature id for the '<em><b>Requires</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RMI_BINDING__REQUIRES = ScaPackage.BINDING__REQUIRES;
+
+ /**
+ * The feature id for the '<em><b>Uri</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RMI_BINDING__URI = ScaPackage.BINDING__URI;
+
+ /**
+ * The feature id for the '<em><b>Host</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RMI_BINDING__HOST = ScaPackage.BINDING_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Service Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RMI_BINDING__SERVICE_NAME = ScaPackage.BINDING_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Port</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RMI_BINDING__PORT = ScaPackage.BINDING_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RMI_BINDING__ANY_ATTRIBUTE = ScaPackage.BINDING_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Group</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RMI_BINDING__GROUP = ScaPackage.BINDING_FEATURE_COUNT + 4;
+
+ /**
+ * The number of structural features of the '<em>RMI Binding</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RMI_BINDING_FEATURE_COUNT = ScaPackage.BINDING_FEATURE_COUNT + 5;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.stp.sca.domainmodel.frascati.impl.JsonRpcBindingImpl <em>Json Rpc Binding</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.JsonRpcBindingImpl
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.FrascatiPackageImpl#getJsonRpcBinding()
+ * @generated
+ */
+ int JSON_RPC_BINDING = 7;
+
+ /**
+ * The feature id for the '<em><b>Operation</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSON_RPC_BINDING__OPERATION = ScaPackage.BINDING__OPERATION;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSON_RPC_BINDING__NAME = ScaPackage.BINDING__NAME;
+
+ /**
+ * The feature id for the '<em><b>Policy Sets</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSON_RPC_BINDING__POLICY_SETS = ScaPackage.BINDING__POLICY_SETS;
+
+ /**
+ * The feature id for the '<em><b>Requires</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSON_RPC_BINDING__REQUIRES = ScaPackage.BINDING__REQUIRES;
+
+ /**
+ * The feature id for the '<em><b>Uri</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSON_RPC_BINDING__URI = ScaPackage.BINDING__URI;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSON_RPC_BINDING__ANY_ATTRIBUTE = ScaPackage.BINDING_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Group</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSON_RPC_BINDING__GROUP = ScaPackage.BINDING_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Json Rpc Binding</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSON_RPC_BINDING_FEATURE_COUNT = ScaPackage.BINDING_FEATURE_COUNT + 2;
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding <em>JBI Binding</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>JBI Binding</em>'.
* @see org.eclipse.stp.sca.domainmodel.frascati.JBIBinding
* @generated
@@ -768,10 +1163,8 @@
EClass getJBIBinding();
/**
- * Returns the meta object for the attribute list '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getAnyAttribute
- * <em>Any Attribute</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute list '{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getAnyAttribute <em>Any Attribute</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute list '<em>Any Attribute</em>'.
* @see org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getAnyAttribute()
* @see #getJBIBinding()
@@ -780,10 +1173,8 @@
EAttribute getJBIBinding_AnyAttribute();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getServiceName
- * <em>Service Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getServiceName <em>Service Name</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Service Name</em>'.
* @see org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getServiceName()
* @see #getJBIBinding()
@@ -792,10 +1183,8 @@
EAttribute getJBIBinding_ServiceName();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getInterfaceName
- * <em>Interface Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getInterfaceName <em>Interface Name</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Interface Name</em>'.
* @see org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getInterfaceName()
* @see #getJBIBinding()
@@ -817,10 +1206,8 @@
EAttribute getJBIBinding_InterfaceNamespace();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getEndpointName
- * <em>Endpoint Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getEndpointName <em>Endpoint Name</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Endpoint Name</em>'.
* @see org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getEndpointName()
* @see #getJBIBinding()
@@ -829,10 +1216,8 @@
EAttribute getJBIBinding_EndpointName();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getOperationName
- * <em>Operation Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getOperationName <em>Operation Name</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Operation Name</em>'.
* @see org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getOperationName()
* @see #getJBIBinding()
@@ -854,10 +1239,8 @@
EAttribute getJBIBinding_OperationNamespace();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getTimeout
- * <em>Timeout</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getTimeout <em>Timeout</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Timeout</em>'.
* @see org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getTimeout()
* @see #getJBIBinding()
@@ -866,10 +1249,8 @@
EAttribute getJBIBinding_Timeout();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getWsdl
- * <em>Wsdl</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getWsdl <em>Wsdl</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Wsdl</em>'.
* @see org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getWsdl()
* @see #getJBIBinding()
@@ -878,10 +1259,8 @@
EAttribute getJBIBinding_Wsdl();
/**
- * Returns the meta object for the attribute list '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getGroup
- * <em>Group</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute list '{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getGroup <em>Group</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute list '<em>Group</em>'.
* @see org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getGroup()
* @see #getJBIBinding()
@@ -903,11 +1282,9 @@
EAttribute getJBIBinding_ServiceNamespace();
/**
- * Returns the meta object for class '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation
- * <em>Fractal Implementation</em>}'. <!-- begin-user-doc --> <!--
+ * Returns the meta object for class '{@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation <em>Fractal Implementation</em>}'.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @return the meta object for class '<em>Fractal Implementation</em>'.
* @see org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation
* @generated
@@ -915,10 +1292,8 @@
EClass getFractalImplementation();
/**
- * Returns the meta object for the attribute list '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation#getAnyAttribute
- * <em>Any Attribute</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute list '{@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation#getAnyAttribute <em>Any Attribute</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute list '<em>Any Attribute</em>'.
* @see org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation#getAnyAttribute()
* @see #getFractalImplementation()
@@ -927,10 +1302,8 @@
EAttribute getFractalImplementation_AnyAttribute();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation#getDefinition
- * <em>Definition</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation#getDefinition <em>Definition</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Definition</em>'.
* @see org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation#getDefinition()
* @see #getFractalImplementation()
@@ -939,10 +1312,8 @@
EAttribute getFractalImplementation_Definition();
/**
- * Returns the meta object for the attribute list '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation#getGroup
- * <em>Group</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute list '{@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation#getGroup <em>Group</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute list '<em>Group</em>'.
* @see org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation#getGroup()
* @see #getFractalImplementation()
@@ -951,10 +1322,8 @@
EAttribute getFractalImplementation_Group();
/**
- * Returns the meta object for class '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot
- * <em>Document Root</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for class '{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot <em>Document Root</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>Document Root</em>'.
* @see org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot
* @generated
@@ -962,13 +1331,10 @@
EClass getDocumentRoot();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getImplementationFractal
- * <em>Implementation Fractal</em>}'. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the containment reference '{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getImplementationFractal <em>Implementation Fractal</em>}'.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @return the meta object for the containment reference '
- * <em>Implementation Fractal</em>'.
+ * @return the meta object for the containment reference '<em>Implementation Fractal</em>'.
* @see org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getImplementationFractal()
* @see #getDocumentRoot()
* @generated
@@ -976,12 +1342,9 @@
EReference getDocumentRoot_ImplementationFractal();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingJBI
- * <em>Binding JBI</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '
- * <em>Binding JBI</em>'.
+ * Returns the meta object for the containment reference '{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingJBI <em>Binding JBI</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Binding JBI</em>'.
* @see org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingJBI()
* @see #getDocumentRoot()
* @generated
@@ -989,6 +1352,287 @@
EReference getDocumentRoot_BindingJBI();
/**
+ * Returns the meta object for the containment reference '{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getImplementationOsgi <em>Implementation Osgi</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Implementation Osgi</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getImplementationOsgi()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ImplementationOsgi();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getImplementationScript <em>Implementation Script</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Implementation Script</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getImplementationScript()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ImplementationScript();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingRest <em>Binding Rest</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Binding Rest</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingRest()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_BindingRest();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingRmi <em>Binding Rmi</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Binding Rmi</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingRmi()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_BindingRmi();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingJsonRpc <em>Binding Json Rpc</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Binding Json Rpc</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot#getBindingJsonRpc()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_BindingJsonRpc();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation <em>Osgi Implementation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Osgi Implementation</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation
+ * @generated
+ */
+ EClass getOsgiImplementation();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation#getBundle <em>Bundle</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Bundle</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation#getBundle()
+ * @see #getOsgiImplementation()
+ * @generated
+ */
+ EAttribute getOsgiImplementation_Bundle();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation#getAnyAttribute <em>Any Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Any Attribute</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation#getAnyAttribute()
+ * @see #getOsgiImplementation()
+ * @generated
+ */
+ EAttribute getOsgiImplementation_AnyAttribute();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation#getGroup <em>Group</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Group</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation#getGroup()
+ * @see #getOsgiImplementation()
+ * @generated
+ */
+ EAttribute getOsgiImplementation_Group();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation <em>Script Implementation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Script Implementation</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation
+ * @generated
+ */
+ EClass getScriptImplementation();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation#getScript <em>Script</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Script</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation#getScript()
+ * @see #getScriptImplementation()
+ * @generated
+ */
+ EAttribute getScriptImplementation_Script();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation#getLanguage <em>Language</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Language</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation#getLanguage()
+ * @see #getScriptImplementation()
+ * @generated
+ */
+ EAttribute getScriptImplementation_Language();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation#getAnyAttribute <em>Any Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Any Attribute</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation#getAnyAttribute()
+ * @see #getScriptImplementation()
+ * @generated
+ */
+ EAttribute getScriptImplementation_AnyAttribute();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation#getGroup <em>Group</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Group</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation#getGroup()
+ * @see #getScriptImplementation()
+ * @generated
+ */
+ EAttribute getScriptImplementation_Group();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.stp.sca.domainmodel.frascati.RestBinding <em>Rest Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Rest Binding</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.RestBinding
+ * @generated
+ */
+ EClass getRestBinding();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.stp.sca.domainmodel.frascati.RestBinding#getAnyAttribute <em>Any Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Any Attribute</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.RestBinding#getAnyAttribute()
+ * @see #getRestBinding()
+ * @generated
+ */
+ EAttribute getRestBinding_AnyAttribute();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.stp.sca.domainmodel.frascati.RestBinding#getGroup <em>Group</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Group</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.RestBinding#getGroup()
+ * @see #getRestBinding()
+ * @generated
+ */
+ EAttribute getRestBinding_Group();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.stp.sca.domainmodel.frascati.RMIBinding <em>RMI Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>RMI Binding</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.RMIBinding
+ * @generated
+ */
+ EClass getRMIBinding();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.stp.sca.domainmodel.frascati.RMIBinding#getHost <em>Host</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Host</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.RMIBinding#getHost()
+ * @see #getRMIBinding()
+ * @generated
+ */
+ EAttribute getRMIBinding_Host();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.stp.sca.domainmodel.frascati.RMIBinding#getServiceName <em>Service Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Service Name</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.RMIBinding#getServiceName()
+ * @see #getRMIBinding()
+ * @generated
+ */
+ EAttribute getRMIBinding_ServiceName();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.stp.sca.domainmodel.frascati.RMIBinding#getPort <em>Port</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Port</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.RMIBinding#getPort()
+ * @see #getRMIBinding()
+ * @generated
+ */
+ EAttribute getRMIBinding_Port();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.stp.sca.domainmodel.frascati.RMIBinding#getAnyAttribute <em>Any Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Any Attribute</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.RMIBinding#getAnyAttribute()
+ * @see #getRMIBinding()
+ * @generated
+ */
+ EAttribute getRMIBinding_AnyAttribute();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.stp.sca.domainmodel.frascati.RMIBinding#getGroup <em>Group</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Group</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.RMIBinding#getGroup()
+ * @see #getRMIBinding()
+ * @generated
+ */
+ EAttribute getRMIBinding_Group();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.stp.sca.domainmodel.frascati.JsonRpcBinding <em>Json Rpc Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Json Rpc Binding</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.JsonRpcBinding
+ * @generated
+ */
+ EClass getJsonRpcBinding();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.stp.sca.domainmodel.frascati.JsonRpcBinding#getAnyAttribute <em>Any Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Any Attribute</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.JsonRpcBinding#getAnyAttribute()
+ * @see #getJsonRpcBinding()
+ * @generated
+ */
+ EAttribute getJsonRpcBinding_AnyAttribute();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.stp.sca.domainmodel.frascati.JsonRpcBinding#getGroup <em>Group</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Group</em>'.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.JsonRpcBinding#getGroup()
+ * @see #getJsonRpcBinding()
+ * @generated
+ */
+ EAttribute getJsonRpcBinding_Group();
+
+ /**
* Returns the factory that creates the instances of the model. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
@@ -1007,16 +1651,13 @@
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
* @generated
*/
interface Literals {
/**
- * The meta object literal for the '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl
- * <em>JBI Binding</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl <em>JBI Binding</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl
* @see org.eclipse.stp.sca.domainmodel.frascati.impl.FrascatiPackageImpl#getJBIBinding()
* @generated
@@ -1024,107 +1665,86 @@
EClass JBI_BINDING = eINSTANCE.getJBIBinding();
/**
- * The meta object literal for the '<em><b>Any Attribute</b></em>'
- * attribute list feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Any Attribute</b></em>' attribute list feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute JBI_BINDING__ANY_ATTRIBUTE = eINSTANCE
- .getJBIBinding_AnyAttribute();
+ EAttribute JBI_BINDING__ANY_ATTRIBUTE = eINSTANCE.getJBIBinding_AnyAttribute();
/**
- * The meta object literal for the '<em><b>Service Name</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Service Name</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute JBI_BINDING__SERVICE_NAME = eINSTANCE
- .getJBIBinding_ServiceName();
+ EAttribute JBI_BINDING__SERVICE_NAME = eINSTANCE.getJBIBinding_ServiceName();
/**
- * The meta object literal for the '<em><b>Interface Name</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Interface Name</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute JBI_BINDING__INTERFACE_NAME = eINSTANCE
- .getJBIBinding_InterfaceName();
+ EAttribute JBI_BINDING__INTERFACE_NAME = eINSTANCE.getJBIBinding_InterfaceName();
/**
- * The meta object literal for the '<em><b>Interface Namespace</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Interface Namespace</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute JBI_BINDING__INTERFACE_NAMESPACE = eINSTANCE
- .getJBIBinding_InterfaceNamespace();
+ EAttribute JBI_BINDING__INTERFACE_NAMESPACE = eINSTANCE.getJBIBinding_InterfaceNamespace();
/**
- * The meta object literal for the '<em><b>Endpoint Name</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Endpoint Name</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute JBI_BINDING__ENDPOINT_NAME = eINSTANCE
- .getJBIBinding_EndpointName();
+ EAttribute JBI_BINDING__ENDPOINT_NAME = eINSTANCE.getJBIBinding_EndpointName();
/**
- * The meta object literal for the '<em><b>Operation Name</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Operation Name</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute JBI_BINDING__OPERATION_NAME = eINSTANCE
- .getJBIBinding_OperationName();
+ EAttribute JBI_BINDING__OPERATION_NAME = eINSTANCE.getJBIBinding_OperationName();
/**
- * The meta object literal for the '<em><b>Operation Namespace</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Operation Namespace</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute JBI_BINDING__OPERATION_NAMESPACE = eINSTANCE
- .getJBIBinding_OperationNamespace();
+ EAttribute JBI_BINDING__OPERATION_NAMESPACE = eINSTANCE.getJBIBinding_OperationNamespace();
/**
- * The meta object literal for the '<em><b>Timeout</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Timeout</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute JBI_BINDING__TIMEOUT = eINSTANCE.getJBIBinding_Timeout();
/**
- * The meta object literal for the '<em><b>Wsdl</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Wsdl</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute JBI_BINDING__WSDL = eINSTANCE.getJBIBinding_Wsdl();
/**
- * The meta object literal for the '<em><b>Group</b></em>' attribute
- * list feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Group</b></em>' attribute list feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute JBI_BINDING__GROUP = eINSTANCE.getJBIBinding_Group();
/**
- * The meta object literal for the '<em><b>Service Namespace</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Service Namespace</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute JBI_BINDING__SERVICE_NAMESPACE = eINSTANCE
- .getJBIBinding_ServiceNamespace();
+ EAttribute JBI_BINDING__SERVICE_NAMESPACE = eINSTANCE.getJBIBinding_ServiceNamespace();
/**
- * The meta object literal for the '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.FractalImplementationImpl
- * <em>Fractal Implementation</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.stp.sca.domainmodel.frascati.impl.FractalImplementationImpl <em>Fractal Implementation</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.stp.sca.domainmodel.frascati.impl.FractalImplementationImpl
* @see org.eclipse.stp.sca.domainmodel.frascati.impl.FrascatiPackageImpl#getFractalImplementation()
* @generated
@@ -1132,38 +1752,30 @@
EClass FRACTAL_IMPLEMENTATION = eINSTANCE.getFractalImplementation();
/**
- * The meta object literal for the '<em><b>Any Attribute</b></em>'
- * attribute list feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Any Attribute</b></em>' attribute list feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE = eINSTANCE
- .getFractalImplementation_AnyAttribute();
+ EAttribute FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE = eINSTANCE.getFractalImplementation_AnyAttribute();
/**
- * The meta object literal for the '<em><b>Definition</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Definition</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute FRACTAL_IMPLEMENTATION__DEFINITION = eINSTANCE
- .getFractalImplementation_Definition();
+ EAttribute FRACTAL_IMPLEMENTATION__DEFINITION = eINSTANCE.getFractalImplementation_Definition();
/**
- * The meta object literal for the '<em><b>Group</b></em>' attribute
- * list feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Group</b></em>' attribute list feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute FRACTAL_IMPLEMENTATION__GROUP = eINSTANCE
- .getFractalImplementation_Group();
+ EAttribute FRACTAL_IMPLEMENTATION__GROUP = eINSTANCE.getFractalImplementation_Group();
/**
- * The meta object literal for the '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.DocumentRootImpl
- * <em>Document Root</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.stp.sca.domainmodel.frascati.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.stp.sca.domainmodel.frascati.impl.DocumentRootImpl
* @see org.eclipse.stp.sca.domainmodel.frascati.impl.FrascatiPackageImpl#getDocumentRoot()
* @generated
@@ -1171,25 +1783,238 @@
EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();
/**
- * The meta object literal for the '
- * <em><b>Implementation Fractal</b></em>' containment reference
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Implementation Fractal</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EReference DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL = eINSTANCE
- .getDocumentRoot_ImplementationFractal();
+ EReference DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL = eINSTANCE.getDocumentRoot_ImplementationFractal();
/**
- * The meta object literal for the '<em><b>Binding JBI</b></em>'
- * containment reference feature. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Binding JBI</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
- EReference DOCUMENT_ROOT__BINDING_JBI = eINSTANCE
- .getDocumentRoot_BindingJBI();
+ EReference DOCUMENT_ROOT__BINDING_JBI = eINSTANCE.getDocumentRoot_BindingJBI();
+ /**
+ * The meta object literal for the '<em><b>Implementation Osgi</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__IMPLEMENTATION_OSGI = eINSTANCE.getDocumentRoot_ImplementationOsgi();
+
+ /**
+ * The meta object literal for the '<em><b>Implementation Script</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT = eINSTANCE.getDocumentRoot_ImplementationScript();
+
+ /**
+ * The meta object literal for the '<em><b>Binding Rest</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__BINDING_REST = eINSTANCE.getDocumentRoot_BindingRest();
+
+ /**
+ * The meta object literal for the '<em><b>Binding Rmi</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__BINDING_RMI = eINSTANCE.getDocumentRoot_BindingRmi();
+
+ /**
+ * The meta object literal for the '<em><b>Binding Json Rpc</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__BINDING_JSON_RPC = eINSTANCE.getDocumentRoot_BindingJsonRpc();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.stp.sca.domainmodel.frascati.impl.OsgiImplementationImpl <em>Osgi Implementation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.OsgiImplementationImpl
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.FrascatiPackageImpl#getOsgiImplementation()
+ * @generated
+ */
+ EClass OSGI_IMPLEMENTATION = eINSTANCE.getOsgiImplementation();
+
+ /**
+ * The meta object literal for the '<em><b>Bundle</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute OSGI_IMPLEMENTATION__BUNDLE = eINSTANCE.getOsgiImplementation_Bundle();
+
+ /**
+ * The meta object literal for the '<em><b>Any Attribute</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute OSGI_IMPLEMENTATION__ANY_ATTRIBUTE = eINSTANCE.getOsgiImplementation_AnyAttribute();
+
+ /**
+ * The meta object literal for the '<em><b>Group</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute OSGI_IMPLEMENTATION__GROUP = eINSTANCE.getOsgiImplementation_Group();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.stp.sca.domainmodel.frascati.impl.ScriptImplementationImpl <em>Script Implementation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.ScriptImplementationImpl
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.FrascatiPackageImpl#getScriptImplementation()
+ * @generated
+ */
+ EClass SCRIPT_IMPLEMENTATION = eINSTANCE.getScriptImplementation();
+
+ /**
+ * The meta object literal for the '<em><b>Script</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SCRIPT_IMPLEMENTATION__SCRIPT = eINSTANCE.getScriptImplementation_Script();
+
+ /**
+ * The meta object literal for the '<em><b>Language</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SCRIPT_IMPLEMENTATION__LANGUAGE = eINSTANCE.getScriptImplementation_Language();
+
+ /**
+ * The meta object literal for the '<em><b>Any Attribute</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SCRIPT_IMPLEMENTATION__ANY_ATTRIBUTE = eINSTANCE.getScriptImplementation_AnyAttribute();
+
+ /**
+ * The meta object literal for the '<em><b>Group</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SCRIPT_IMPLEMENTATION__GROUP = eINSTANCE.getScriptImplementation_Group();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.stp.sca.domainmodel.frascati.impl.RestBindingImpl <em>Rest Binding</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.RestBindingImpl
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.FrascatiPackageImpl#getRestBinding()
+ * @generated
+ */
+ EClass REST_BINDING = eINSTANCE.getRestBinding();
+
+ /**
+ * The meta object literal for the '<em><b>Any Attribute</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute REST_BINDING__ANY_ATTRIBUTE = eINSTANCE.getRestBinding_AnyAttribute();
+
+ /**
+ * The meta object literal for the '<em><b>Group</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute REST_BINDING__GROUP = eINSTANCE.getRestBinding_Group();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.stp.sca.domainmodel.frascati.impl.RMIBindingImpl <em>RMI Binding</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.RMIBindingImpl
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.FrascatiPackageImpl#getRMIBinding()
+ * @generated
+ */
+ EClass RMI_BINDING = eINSTANCE.getRMIBinding();
+
+ /**
+ * The meta object literal for the '<em><b>Host</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RMI_BINDING__HOST = eINSTANCE.getRMIBinding_Host();
+
+ /**
+ * The meta object literal for the '<em><b>Service Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RMI_BINDING__SERVICE_NAME = eINSTANCE.getRMIBinding_ServiceName();
+
+ /**
+ * The meta object literal for the '<em><b>Port</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RMI_BINDING__PORT = eINSTANCE.getRMIBinding_Port();
+
+ /**
+ * The meta object literal for the '<em><b>Any Attribute</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RMI_BINDING__ANY_ATTRIBUTE = eINSTANCE.getRMIBinding_AnyAttribute();
+
+ /**
+ * The meta object literal for the '<em><b>Group</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RMI_BINDING__GROUP = eINSTANCE.getRMIBinding_Group();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.stp.sca.domainmodel.frascati.impl.JsonRpcBindingImpl <em>Json Rpc Binding</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.JsonRpcBindingImpl
+ * @see org.eclipse.stp.sca.domainmodel.frascati.impl.FrascatiPackageImpl#getJsonRpcBinding()
+ * @generated
+ */
+ EClass JSON_RPC_BINDING = eINSTANCE.getJsonRpcBinding();
+
+ /**
+ * The meta object literal for the '<em><b>Any Attribute</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute JSON_RPC_BINDING__ANY_ATTRIBUTE = eINSTANCE.getJsonRpcBinding_AnyAttribute();
+
+ /**
+ * The meta object literal for the '<em><b>Group</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute JSON_RPC_BINDING__GROUP = eINSTANCE.getJsonRpcBinding_Group();
+
}
} // FrascatiPackage
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/JBIBinding.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/JBIBinding.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/JBIBinding.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -17,43 +17,24 @@
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>JBI Binding</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getAnyAttribute
- * <em>Any Attribute</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getInterfaceName
- * <em>Interface Name</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getInterfaceNamespace
- * <em>Interface Namespace</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getServiceName
- * <em>Service Name</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getServiceNamespace
- * <em>Service Namespace</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getEndpointName
- * <em>Endpoint Name</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getOperationName
- * <em>Operation Name</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getOperationNamespace
- * <em>Operation Namespace</em>}</li>
- * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getTimeout
- * <em>Timeout</em>}</li>
- * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getWsdl <em>
- * Wsdl</em>}</li>
- * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getGroup <em>
- * Group</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getAnyAttribute <em>Any Attribute</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getInterfaceName <em>Interface Name</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getInterfaceNamespace <em>Interface Namespace</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getServiceName <em>Service Name</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getServiceNamespace <em>Service Namespace</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getEndpointName <em>Endpoint Name</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getOperationName <em>Operation Name</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getOperationNamespace <em>Operation Namespace</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getTimeout <em>Timeout</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getWsdl <em>Wsdl</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getGroup <em>Group</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getJBIBinding()
* @model extendedMetaData="name='JBIBinding' kind='elementOnly'"
* @generated
@@ -61,20 +42,18 @@
public interface JBIBinding extends Binding {
/**
* Returns the value of the '<em><b>Any Attribute</b></em>' attribute list.
- * The list contents are of type
- * {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. <!-- begin-user-doc
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc
* -->
* <p>
* If the meaning of the '<em>Any Attribute</em>' attribute list isn't
* clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Any Attribute</em>' attribute list.
* @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getJBIBinding_AnyAttribute()
- * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry"
- * many="true" extendedMetaData=
- * "kind='attributeWildcard' wildcards='##any' name=':7' processing='lax'"
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='attributeWildcard' wildcards='##any' name=':7' processing='lax'"
* @generated
*/
FeatureMap getAnyAttribute();
@@ -97,13 +76,10 @@
String getServiceName();
/**
- * Sets the value of the '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getServiceName
- * <em>Service Name</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getServiceName <em>Service Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Service Name</em>' attribute.
+ * @param value the new value of the '<em>Service Name</em>' attribute.
* @see #getServiceName()
* @generated
*/
@@ -127,13 +103,10 @@
String getInterfaceName();
/**
- * Sets the value of the '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getInterfaceName
- * <em>Interface Name</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getInterfaceName <em>Interface Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Interface Name</em>' attribute.
+ * @param value the new value of the '<em>Interface Name</em>' attribute.
* @see #getInterfaceName()
* @generated
*/
@@ -147,7 +120,6 @@
* clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Interface Namespace</em>' attribute.
* @see #setInterfaceNamespace(String)
* @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getJBIBinding_InterfaceNamespace()
@@ -157,13 +129,10 @@
String getInterfaceNamespace();
/**
- * Sets the value of the '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getInterfaceNamespace
- * <em>Interface Namespace</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getInterfaceNamespace <em>Interface Namespace</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Interface Namespace</em>' attribute.
+ * @param value the new value of the '<em>Interface Namespace</em>' attribute.
* @see #getInterfaceNamespace()
* @generated
*/
@@ -187,13 +156,10 @@
String getEndpointName();
/**
- * Sets the value of the '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getEndpointName
- * <em>Endpoint Name</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getEndpointName <em>Endpoint Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Endpoint Name</em>' attribute.
+ * @param value the new value of the '<em>Endpoint Name</em>' attribute.
* @see #getEndpointName()
* @generated
*/
@@ -217,13 +183,10 @@
String getOperationName();
/**
- * Sets the value of the '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getOperationName
- * <em>Operation Name</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getOperationName <em>Operation Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Operation Name</em>' attribute.
+ * @param value the new value of the '<em>Operation Name</em>' attribute.
* @see #getOperationName()
* @generated
*/
@@ -237,7 +200,6 @@
* clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Operation Namespace</em>' attribute.
* @see #setOperationNamespace(String)
* @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getJBIBinding_OperationNamespace()
@@ -247,13 +209,10 @@
String getOperationNamespace();
/**
- * Sets the value of the '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getOperationNamespace
- * <em>Operation Namespace</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getOperationNamespace <em>Operation Namespace</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Operation Namespace</em>' attribute.
+ * @param value the new value of the '<em>Operation Namespace</em>' attribute.
* @see #getOperationNamespace()
* @generated
*/
@@ -307,31 +266,26 @@
String getWsdl();
/**
- * Sets the value of the '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getWsdl
- * <em>Wsdl</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Wsdl</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getWsdl <em>Wsdl</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Wsdl</em>' attribute.
* @see #getWsdl()
* @generated
*/
void setWsdl(String value);
/**
- * Returns the value of the '<em><b>Group</b></em>' attribute list. The list
- * contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * Returns the value of the '<em><b>Group</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Group</em>' attribute list isn't clear, there
* really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Group</em>' attribute list.
* @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getJBIBinding_Group()
- * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry"
- * many="true"
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
* extendedMetaData="kind='group' name='group:sca:jbibinding'"
* @generated
*/
@@ -345,7 +299,6 @@
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Service Namespace</em>' attribute.
* @see #setServiceNamespace(String)
* @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getJBIBinding_ServiceNamespace()
@@ -355,13 +308,10 @@
String getServiceNamespace();
/**
- * Sets the value of the '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getServiceNamespace
- * <em>Service Namespace</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding#getServiceNamespace <em>Service Namespace</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Service Namespace</em>' attribute.
+ * @param value the new value of the '<em>Service Namespace</em>' attribute.
* @see #getServiceNamespace()
* @generated
*/
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/JsonRpcBinding.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/JsonRpcBinding.java (rev 0)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/JsonRpcBinding.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -0,0 +1,65 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.stp.sca.domainmodel.frascati;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+import org.eclipse.stp.sca.Binding;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Json Rpc Binding</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.JsonRpcBinding#getAnyAttribute <em>Any Attribute</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.JsonRpcBinding#getGroup <em>Group</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getJsonRpcBinding()
+ * @model extendedMetaData="name='JsonRpcBinding' kind='elementOnly'"
+ * @generated
+ */
+public interface JsonRpcBinding extends Binding {
+ /**
+ * Returns the value of the '<em><b>Any Attribute</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Any Attribute</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Any Attribute</em>' attribute list.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getJsonRpcBinding_AnyAttribute()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='attributeWildcard' wildcards='##any' name=':3' processing='lax'"
+ * @generated
+ */
+ FeatureMap getAnyAttribute();
+
+ /**
+ * Returns the value of the '<em><b>Group</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Group</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Group</em>' attribute list.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getJsonRpcBinding_Group()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='group' name='group:sca:jsonrpcbinding'"
+ * @generated
+ */
+ FeatureMap getGroup();
+
+} // JsonRpcBinding
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/JsonRpcBinding.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/OsgiImplementation.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/OsgiImplementation.java (rev 0)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/OsgiImplementation.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -0,0 +1,92 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.stp.sca.domainmodel.frascati;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+import org.eclipse.stp.sca.Implementation;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Osgi Implementation</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation#getBundle <em>Bundle</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation#getAnyAttribute <em>Any Attribute</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation#getGroup <em>Group</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getOsgiImplementation()
+ * @model extendedMetaData="name='OsgiImplementation' kind='elementOnly'"
+ * @generated
+ */
+public interface OsgiImplementation extends Implementation {
+ /**
+ * Returns the value of the '<em><b>Bundle</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Bundle</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Bundle</em>' attribute.
+ * @see #setBundle(String)
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getOsgiImplementation_Bundle()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * @generated
+ */
+ String getBundle();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation#getBundle <em>Bundle</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bundle</em>' attribute.
+ * @see #getBundle()
+ * @generated
+ */
+ void setBundle(String value);
+
+ /**
+ * Returns the value of the '<em><b>Any Attribute</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Any Attribute</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Any Attribute</em>' attribute list.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getOsgiImplementation_AnyAttribute()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='attributeWildcard' wildcards='##any' name=':3' processing='lax'"
+ * @generated
+ */
+ FeatureMap getAnyAttribute();
+
+ /**
+ * Returns the value of the '<em><b>Group</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Group</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Group</em>' attribute list.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getOsgiImplementation_Group()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='group' name='group:sca:osgiimplementation'"
+ * @generated
+ */
+ FeatureMap getGroup();
+
+} // OsgiImplementation
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/OsgiImplementation.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/RMIBinding.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/RMIBinding.java (rev 0)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/RMIBinding.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -0,0 +1,146 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.stp.sca.domainmodel.frascati;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+import org.eclipse.stp.sca.Binding;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>RMI Binding</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.RMIBinding#getHost <em>Host</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.RMIBinding#getServiceName <em>Service Name</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.RMIBinding#getPort <em>Port</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.RMIBinding#getAnyAttribute <em>Any Attribute</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.RMIBinding#getGroup <em>Group</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getRMIBinding()
+ * @model extendedMetaData="name='RMIBinding' kind='elementOnly'"
+ * @generated
+ */
+public interface RMIBinding extends Binding {
+ /**
+ * Returns the value of the '<em><b>Host</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Host</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Host</em>' attribute.
+ * @see #setHost(String)
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getRMIBinding_Host()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * @generated
+ */
+ String getHost();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.RMIBinding#getHost <em>Host</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Host</em>' attribute.
+ * @see #getHost()
+ * @generated
+ */
+ void setHost(String value);
+
+ /**
+ * Returns the value of the '<em><b>Service Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Service Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Service Name</em>' attribute.
+ * @see #setServiceName(String)
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getRMIBinding_ServiceName()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * @generated
+ */
+ String getServiceName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.RMIBinding#getServiceName <em>Service Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Service Name</em>' attribute.
+ * @see #getServiceName()
+ * @generated
+ */
+ void setServiceName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Port</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Port</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Port</em>' attribute.
+ * @see #setPort(String)
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getRMIBinding_Port()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * @generated
+ */
+ String getPort();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.RMIBinding#getPort <em>Port</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Port</em>' attribute.
+ * @see #getPort()
+ * @generated
+ */
+ void setPort(String value);
+
+ /**
+ * Returns the value of the '<em><b>Any Attribute</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Any Attribute</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Any Attribute</em>' attribute list.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getRMIBinding_AnyAttribute()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='attributeWildcard' wildcards='##any' name=':3' processing='lax'"
+ * @generated
+ */
+ FeatureMap getAnyAttribute();
+
+ /**
+ * Returns the value of the '<em><b>Group</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Group</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Group</em>' attribute list.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getRMIBinding_Group()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='group' name='group:sca:rmibinding'"
+ * @generated
+ */
+ FeatureMap getGroup();
+
+} // RMIBinding
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/RMIBinding.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/RestBinding.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/RestBinding.java (rev 0)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/RestBinding.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -0,0 +1,65 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.stp.sca.domainmodel.frascati;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+import org.eclipse.stp.sca.Binding;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Rest Binding</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.RestBinding#getAnyAttribute <em>Any Attribute</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.RestBinding#getGroup <em>Group</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getRestBinding()
+ * @model extendedMetaData="name='RestBinding' kind='elementOnly'"
+ * @generated
+ */
+public interface RestBinding extends Binding {
+ /**
+ * Returns the value of the '<em><b>Any Attribute</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Any Attribute</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Any Attribute</em>' attribute list.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getRestBinding_AnyAttribute()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='attributeWildcard' wildcards='##any' name=':3' processing='lax'"
+ * @generated
+ */
+ FeatureMap getAnyAttribute();
+
+ /**
+ * Returns the value of the '<em><b>Group</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Group</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Group</em>' attribute list.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getRestBinding_Group()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='group' name='group:sca:restbinding'"
+ * @generated
+ */
+ FeatureMap getGroup();
+
+} // RestBinding
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/RestBinding.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/ScriptImplementation.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/ScriptImplementation.java (rev 0)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/ScriptImplementation.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -0,0 +1,121 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.stp.sca.domainmodel.frascati;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+import org.eclipse.stp.sca.Implementation;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Script Implementation</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation#getScript <em>Script</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation#getLanguage <em>Language</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation#getAnyAttribute <em>Any Attribute</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation#getGroup <em>Group</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getScriptImplementation()
+ * @model extendedMetaData="name='ScriptImplementation' kind='elementOnly'"
+ * @generated
+ */
+public interface ScriptImplementation extends Implementation {
+ /**
+ * Returns the value of the '<em><b>Script</b></em>' attribute.
+ * The default value is <code>""</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Script</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Script</em>' attribute.
+ * @see #setScript(String)
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getScriptImplementation_Script()
+ * @model default="" dataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ String getScript();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation#getScript <em>Script</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Script</em>' attribute.
+ * @see #getScript()
+ * @generated
+ */
+ void setScript(String value);
+
+ /**
+ * Returns the value of the '<em><b>Language</b></em>' attribute.
+ * The default value is <code>""</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Language</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Language</em>' attribute.
+ * @see #setLanguage(String)
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getScriptImplementation_Language()
+ * @model default="" dataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ String getLanguage();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation#getLanguage <em>Language</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Language</em>' attribute.
+ * @see #getLanguage()
+ * @generated
+ */
+ void setLanguage(String value);
+
+ /**
+ * Returns the value of the '<em><b>Any Attribute</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Any Attribute</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Any Attribute</em>' attribute list.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getScriptImplementation_AnyAttribute()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='attributeWildcard' wildcards='##any' name=':3' processing='lax'"
+ * @generated
+ */
+ FeatureMap getAnyAttribute();
+
+ /**
+ * Returns the value of the '<em><b>Group</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Group</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Group</em>' attribute list.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage#getScriptImplementation_Group()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='group' name='group:sca:scriptimplementation'"
+ * @generated
+ */
+ FeatureMap getGroup();
+
+} // ScriptImplementation
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/ScriptImplementation.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/DocumentRootImpl.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/DocumentRootImpl.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/DocumentRootImpl.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -19,6 +19,11 @@
import org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation;
import org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage;
import org.eclipse.stp.sca.domainmodel.frascati.JBIBinding;
+import org.eclipse.stp.sca.domainmodel.frascati.JsonRpcBinding;
+import org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation;
+import org.eclipse.stp.sca.domainmodel.frascati.RMIBinding;
+import org.eclipse.stp.sca.domainmodel.frascati.RestBinding;
+import org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation;
/**
* <!-- begin-user-doc --> An implementation of the model object '
@@ -26,22 +31,22 @@
* <p>
* The following features are implemented:
* <ul>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.DocumentRootImpl#getImplementationFractal
- * <em>Implementation Fractal</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.DocumentRootImpl#getBindingJBI
- * <em>Binding JBI</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.DocumentRootImpl#getImplementationFractal <em>Implementation Fractal</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.DocumentRootImpl#getBindingJBI <em>Binding JBI</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.DocumentRootImpl#getImplementationOsgi <em>Implementation Osgi</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.DocumentRootImpl#getImplementationScript <em>Implementation Script</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.DocumentRootImpl#getBindingRest <em>Binding Rest</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.DocumentRootImpl#getBindingRmi <em>Binding Rmi</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.DocumentRootImpl#getBindingJsonRpc <em>Binding Json Rpc</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class DocumentRootImpl extends org.eclipse.stp.sca.impl.DocumentRootImpl
implements DocumentRoot {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected DocumentRootImpl() {
@@ -50,7 +55,6 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -60,154 +64,327 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public FractalImplementation getImplementationFractal() {
- return (FractalImplementation) getMixed().get(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- true);
+ return (FractalImplementation)getMixed().get(FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL, true);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetImplementationFractal(
FractalImplementation newImplementationFractal,
NotificationChain msgs) {
- return ((FeatureMap.Internal) getMixed()).basicAdd(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- newImplementationFractal, msgs);
+ return ((FeatureMap.Internal)getMixed()).basicAdd(FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL, newImplementationFractal, msgs);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setImplementationFractal(
FractalImplementation newImplementationFractal) {
- ((FeatureMap.Internal) getMixed()).set(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- newImplementationFractal);
+ ((FeatureMap.Internal)getMixed()).set(FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL, newImplementationFractal);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public JBIBinding getBindingJBI() {
- return (JBIBinding) getMixed().get(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI, true);
+ return (JBIBinding)getMixed().get(FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI, true);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetBindingJBI(JBIBinding newBindingJBI,
NotificationChain msgs) {
- return ((FeatureMap.Internal) getMixed()).basicAdd(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- newBindingJBI, msgs);
+ return ((FeatureMap.Internal)getMixed()).basicAdd(FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI, newBindingJBI, msgs);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setBindingJBI(JBIBinding newBindingJBI) {
- ((FeatureMap.Internal) getMixed()).set(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- newBindingJBI);
+ ((FeatureMap.Internal)getMixed()).set(FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI, newBindingJBI);
}
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OsgiImplementation getImplementationOsgi() {
+ return (OsgiImplementation)getMixed().get(FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetImplementationOsgi(OsgiImplementation newImplementationOsgi, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI, newImplementationOsgi, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImplementationOsgi(OsgiImplementation newImplementationOsgi) {
+ ((FeatureMap.Internal)getMixed()).set(FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI, newImplementationOsgi);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ScriptImplementation getImplementationScript() {
+ return (ScriptImplementation)getMixed().get(FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetImplementationScript(ScriptImplementation newImplementationScript, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT, newImplementationScript, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImplementationScript(ScriptImplementation newImplementationScript) {
+ ((FeatureMap.Internal)getMixed()).set(FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT, newImplementationScript);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RestBinding getBindingRest() {
+ return (RestBinding)getMixed().get(FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBindingRest(RestBinding newBindingRest, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST, newBindingRest, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBindingRest(RestBinding newBindingRest) {
+ ((FeatureMap.Internal)getMixed()).set(FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST, newBindingRest);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RMIBinding getBindingRmi() {
+ return (RMIBinding)getMixed().get(FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBindingRmi(RMIBinding newBindingRmi, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI, newBindingRmi, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBindingRmi(RMIBinding newBindingRmi) {
+ ((FeatureMap.Internal)getMixed()).set(FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI, newBindingRmi);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JsonRpcBinding getBindingJsonRpc() {
+ return (JsonRpcBinding)getMixed().get(FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBindingJsonRpc(JsonRpcBinding newBindingJsonRpc, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC, newBindingJsonRpc, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBindingJsonRpc(JsonRpcBinding newBindingJsonRpc) {
+ ((FeatureMap.Internal)getMixed()).set(FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC, newBindingJsonRpc);
+ }
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL:
- return basicSetImplementationFractal(null, msgs);
- case FrascatiPackage.DOCUMENT_ROOT__BINDING_JBI:
- return basicSetBindingJBI(null, msgs);
+ case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL:
+ return basicSetImplementationFractal(null, msgs);
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_JBI:
+ return basicSetBindingJBI(null, msgs);
+ case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_OSGI:
+ return basicSetImplementationOsgi(null, msgs);
+ case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT:
+ return basicSetImplementationScript(null, msgs);
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_REST:
+ return basicSetBindingRest(null, msgs);
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_RMI:
+ return basicSetBindingRmi(null, msgs);
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_JSON_RPC:
+ return basicSetBindingJsonRpc(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL:
- return getImplementationFractal();
- case FrascatiPackage.DOCUMENT_ROOT__BINDING_JBI:
- return getBindingJBI();
+ case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL:
+ return getImplementationFractal();
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_JBI:
+ return getBindingJBI();
+ case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_OSGI:
+ return getImplementationOsgi();
+ case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT:
+ return getImplementationScript();
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_REST:
+ return getBindingRest();
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_RMI:
+ return getBindingRmi();
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_JSON_RPC:
+ return getBindingJsonRpc();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL:
- setImplementationFractal((FractalImplementation) newValue);
- return;
- case FrascatiPackage.DOCUMENT_ROOT__BINDING_JBI:
- setBindingJBI((JBIBinding) newValue);
- return;
+ case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL:
+ setImplementationFractal((FractalImplementation)newValue);
+ return;
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_JBI:
+ setBindingJBI((JBIBinding)newValue);
+ return;
+ case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_OSGI:
+ setImplementationOsgi((OsgiImplementation)newValue);
+ return;
+ case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT:
+ setImplementationScript((ScriptImplementation)newValue);
+ return;
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_REST:
+ setBindingRest((RestBinding)newValue);
+ return;
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_RMI:
+ setBindingRmi((RMIBinding)newValue);
+ return;
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_JSON_RPC:
+ setBindingJsonRpc((JsonRpcBinding)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL:
- setImplementationFractal((FractalImplementation) null);
- return;
- case FrascatiPackage.DOCUMENT_ROOT__BINDING_JBI:
- setBindingJBI((JBIBinding) null);
- return;
+ case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL:
+ setImplementationFractal((FractalImplementation)null);
+ return;
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_JBI:
+ setBindingJBI((JBIBinding)null);
+ return;
+ case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_OSGI:
+ setImplementationOsgi((OsgiImplementation)null);
+ return;
+ case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT:
+ setImplementationScript((ScriptImplementation)null);
+ return;
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_REST:
+ setBindingRest((RestBinding)null);
+ return;
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_RMI:
+ setBindingRmi((RMIBinding)null);
+ return;
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_JSON_RPC:
+ setBindingJsonRpc((JsonRpcBinding)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL:
- return getImplementationFractal() != null;
- case FrascatiPackage.DOCUMENT_ROOT__BINDING_JBI:
- return getBindingJBI() != null;
+ case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL:
+ return getImplementationFractal() != null;
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_JBI:
+ return getBindingJBI() != null;
+ case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_OSGI:
+ return getImplementationOsgi() != null;
+ case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT:
+ return getImplementationScript() != null;
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_REST:
+ return getBindingRest() != null;
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_RMI:
+ return getBindingRmi() != null;
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_JSON_RPC:
+ return getBindingJsonRpc() != null;
}
return super.eIsSet(featureID);
}
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/FractalImplementationImpl.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/FractalImplementationImpl.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/FractalImplementationImpl.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -29,27 +29,20 @@
* <p>
* The following features are implemented:
* <ul>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.FractalImplementationImpl#getAnyAttribute
- * <em>Any Attribute</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.FractalImplementationImpl#getDefinition
- * <em>Definition</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.FractalImplementationImpl#getGroup
- * <em>Group</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.FractalImplementationImpl#getAnyAttribute <em>Any Attribute</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.FractalImplementationImpl#getDefinition <em>Definition</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.FractalImplementationImpl#getGroup <em>Group</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class FractalImplementationImpl extends ImplementationImpl implements
FractalImplementation {
/**
- * The cached value of the '{@link #getAnyAttribute()
- * <em>Any Attribute</em>}' attribute list. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getAnyAttribute() <em>Any Attribute</em>}' attribute list.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getAnyAttribute()
* @generated
* @ordered
@@ -57,9 +50,8 @@
protected FeatureMap anyAttribute;
/**
- * The default value of the '{@link #getDefinition() <em>Definition</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getDefinition() <em>Definition</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getDefinition()
* @generated
* @ordered
@@ -67,9 +59,8 @@
protected static final String DEFINITION_EDEFAULT = null;
/**
- * The cached value of the '{@link #getDefinition() <em>Definition</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getDefinition() <em>Definition</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getDefinition()
* @generated
* @ordered
@@ -77,9 +68,8 @@
protected String definition = DEFINITION_EDEFAULT;
/**
- * The cached value of the '{@link #getGroup() <em>Group</em>}' attribute
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getGroup() <em>Group</em>}' attribute list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getGroup()
* @generated
* @ordered
@@ -88,7 +78,6 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected FractalImplementationImpl() {
@@ -97,7 +86,6 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -107,20 +95,17 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public FeatureMap getAnyAttribute() {
if (anyAttribute == null) {
- anyAttribute = new BasicFeatureMap(this,
- FrascatiPackage.FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE);
+ anyAttribute = new BasicFeatureMap(this, FrascatiPackage.FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE);
}
return anyAttribute;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getDefinition() {
@@ -129,148 +114,132 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setDefinition(String newDefinition) {
String oldDefinition = definition;
definition = newDefinition;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- FrascatiPackage.FRACTAL_IMPLEMENTATION__DEFINITION,
- oldDefinition, definition));
+ eNotify(new ENotificationImpl(this, Notification.SET, FrascatiPackage.FRACTAL_IMPLEMENTATION__DEFINITION, oldDefinition, definition));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public FeatureMap getGroup() {
if (group == null) {
- group = new BasicFeatureMap(this,
- FrascatiPackage.FRACTAL_IMPLEMENTATION__GROUP);
+ group = new BasicFeatureMap(this, FrascatiPackage.FRACTAL_IMPLEMENTATION__GROUP);
}
return group;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case FrascatiPackage.FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE:
- return ((InternalEList<?>) getAnyAttribute()).basicRemove(otherEnd,
- msgs);
- case FrascatiPackage.FRACTAL_IMPLEMENTATION__GROUP:
- return ((InternalEList<?>) getGroup()).basicRemove(otherEnd, msgs);
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE:
+ return ((InternalEList<?>)getAnyAttribute()).basicRemove(otherEnd, msgs);
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION__GROUP:
+ return ((InternalEList<?>)getGroup()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FrascatiPackage.FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE:
- if (coreType)
- return getAnyAttribute();
- return ((FeatureMap.Internal) getAnyAttribute()).getWrapper();
- case FrascatiPackage.FRACTAL_IMPLEMENTATION__DEFINITION:
- return getDefinition();
- case FrascatiPackage.FRACTAL_IMPLEMENTATION__GROUP:
- if (coreType)
- return getGroup();
- return ((FeatureMap.Internal) getGroup()).getWrapper();
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE:
+ if (coreType) return getAnyAttribute();
+ return ((FeatureMap.Internal)getAnyAttribute()).getWrapper();
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION__DEFINITION:
+ return getDefinition();
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION__GROUP:
+ if (coreType) return getGroup();
+ return ((FeatureMap.Internal)getGroup()).getWrapper();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FrascatiPackage.FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE:
- ((FeatureMap.Internal) getAnyAttribute()).set(newValue);
- return;
- case FrascatiPackage.FRACTAL_IMPLEMENTATION__DEFINITION:
- setDefinition((String) newValue);
- return;
- case FrascatiPackage.FRACTAL_IMPLEMENTATION__GROUP:
- ((FeatureMap.Internal) getGroup()).set(newValue);
- return;
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE:
+ ((FeatureMap.Internal)getAnyAttribute()).set(newValue);
+ return;
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION__DEFINITION:
+ setDefinition((String)newValue);
+ return;
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION__GROUP:
+ ((FeatureMap.Internal)getGroup()).set(newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FrascatiPackage.FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE:
- getAnyAttribute().clear();
- return;
- case FrascatiPackage.FRACTAL_IMPLEMENTATION__DEFINITION:
- setDefinition(DEFINITION_EDEFAULT);
- return;
- case FrascatiPackage.FRACTAL_IMPLEMENTATION__GROUP:
- getGroup().clear();
- return;
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE:
+ getAnyAttribute().clear();
+ return;
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION__DEFINITION:
+ setDefinition(DEFINITION_EDEFAULT);
+ return;
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION__GROUP:
+ getGroup().clear();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FrascatiPackage.FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE:
- return anyAttribute != null && !anyAttribute.isEmpty();
- case FrascatiPackage.FRACTAL_IMPLEMENTATION__DEFINITION:
- return DEFINITION_EDEFAULT == null ? definition != null
- : !DEFINITION_EDEFAULT.equals(definition);
- case FrascatiPackage.FRACTAL_IMPLEMENTATION__GROUP:
- return group != null && !group.isEmpty();
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE:
+ return anyAttribute != null && !anyAttribute.isEmpty();
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION__DEFINITION:
+ return DEFINITION_EDEFAULT == null ? definition != null : !DEFINITION_EDEFAULT.equals(definition);
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION__GROUP:
+ return group != null && !group.isEmpty();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy())
- return super.toString();
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
- result.append(" (anyAttribute: "); //$NON-NLS-1$
+ result.append(" (anyAttribute: ");
result.append(anyAttribute);
- result.append(", definition: ");//$NON-NLS-1$
+ result.append(", definition: ");
result.append(definition);
- result.append(", group: ");//$NON-NLS-1$
+ result.append(", group: ");
result.append(group);
result.append(')');
return result.toString();
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/FrascatiFactoryImpl.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/FrascatiFactoryImpl.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/FrascatiFactoryImpl.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -16,6 +16,7 @@
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.impl.EFactoryImpl;
import org.eclipse.emf.ecore.plugin.EcorePlugin;
+import org.eclipse.stp.sca.domainmodel.frascati.*;
import org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot;
import org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation;
import org.eclipse.stp.sca.domainmodel.frascati.FrascatiFactory;
@@ -25,34 +26,33 @@
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!--
* end-user-doc -->
- *
* @generated
*/
public class FrascatiFactoryImpl extends EFactoryImpl implements
FrascatiFactory {
/**
- * Creates the default factory implementation. <!-- begin-user-doc --> <!--
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public static FrascatiFactory init() {
try {
- FrascatiFactory theFrascatiFactory = (FrascatiFactory) EPackage.Registry.INSTANCE
- .getEFactory("http://frascati.ow2.org"); //$NON-NLS-1$
+ FrascatiFactory theFrascatiFactory = (FrascatiFactory)EPackage.Registry.INSTANCE.getEFactory("http://frascati.ow2.org");
if (theFrascatiFactory != null) {
return theFrascatiFactory;
}
- } catch (Exception exception) {
+ }
+ catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new FrascatiFactoryImpl();
}
/**
- * Creates an instance of the factory. <!-- begin-user-doc --> <!--
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public FrascatiFactoryImpl() {
@@ -61,27 +61,26 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case FrascatiPackage.JBI_BINDING:
- return createJBIBinding();
- case FrascatiPackage.FRACTAL_IMPLEMENTATION:
- return createFractalImplementation();
- case FrascatiPackage.DOCUMENT_ROOT:
- return createDocumentRoot();
- default:
- throw new IllegalArgumentException(Messages.getString("FrascatiFactoryImpl.5") + eClass.getName() //$NON-NLS-1$
- + Messages.getString("FrascatiFactoryImpl.6")); //$NON-NLS-1$
+ case FrascatiPackage.JBI_BINDING: return createJBIBinding();
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION: return createFractalImplementation();
+ case FrascatiPackage.DOCUMENT_ROOT: return createDocumentRoot();
+ case FrascatiPackage.OSGI_IMPLEMENTATION: return createOsgiImplementation();
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION: return createScriptImplementation();
+ case FrascatiPackage.REST_BINDING: return createRestBinding();
+ case FrascatiPackage.RMI_BINDING: return createRMIBinding();
+ case FrascatiPackage.JSON_RPC_BINDING: return createJsonRpcBinding();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public JBIBinding createJBIBinding() {
@@ -91,7 +90,6 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public FractalImplementation createFractalImplementation() {
@@ -101,7 +99,6 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public DocumentRoot createDocumentRoot() {
@@ -110,17 +107,65 @@
}
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OsgiImplementation createOsgiImplementation() {
+ OsgiImplementationImpl osgiImplementation = new OsgiImplementationImpl();
+ return osgiImplementation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ScriptImplementation createScriptImplementation() {
+ ScriptImplementationImpl scriptImplementation = new ScriptImplementationImpl();
+ return scriptImplementation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RestBinding createRestBinding() {
+ RestBindingImpl restBinding = new RestBindingImpl();
+ return restBinding;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RMIBinding createRMIBinding() {
+ RMIBindingImpl rmiBinding = new RMIBindingImpl();
+ return rmiBinding;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JsonRpcBinding createJsonRpcBinding() {
+ JsonRpcBindingImpl jsonRpcBinding = new JsonRpcBindingImpl();
+ return jsonRpcBinding;
+ }
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public FrascatiPackage getFrascatiPackage() {
- return (FrascatiPackage) getEPackage();
+ return (FrascatiPackage)getEPackage();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @deprecated
* @generated
*/
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/FrascatiPackageImpl.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/FrascatiPackageImpl.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/FrascatiPackageImpl.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -23,39 +23,75 @@
import org.eclipse.stp.sca.domainmodel.frascati.FrascatiFactory;
import org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage;
import org.eclipse.stp.sca.domainmodel.frascati.JBIBinding;
+import org.eclipse.stp.sca.domainmodel.frascati.JsonRpcBinding;
+import org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation;
+import org.eclipse.stp.sca.domainmodel.frascati.RMIBinding;
+import org.eclipse.stp.sca.domainmodel.frascati.RestBinding;
+import org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation;
import org.eclipse.stp.sca.instance.InstancePackage;
import org.eclipse.stp.sca.policy.PolicyPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!--
* end-user-doc -->
- *
* @generated
*/
public class FrascatiPackageImpl extends EPackageImpl implements
FrascatiPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass jbiBindingEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass fractalImplementationEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass documentRootEClass = null;
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass osgiImplementationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass scriptImplementationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass restBindingEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass rmiBindingEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass jsonRpcBindingEClass = null;
+
+ /**
* Creates an instance of the model <b>Package</b>, registered with
* {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the
* package package URI value.
@@ -76,42 +112,26 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private static boolean isInited = false;
/**
- * Creates, registers, and initializes the <b>Package</b> for this model,
- * and for any others upon which it depends. Simple dependencies are
- * satisfied by calling this method on all dependent packages before doing
- * anything else. This method drives initialization for interdependent
- * packages directly, in parallel with this package, itself.
- * <p>
- * Of this package and its interdependencies, all packages which have not
- * yet been registered by their URI values are first created and registered.
- * The packages are then initialized in two steps: meta-model objects for
- * all of the packages are created before any are initialized, since one
- * package's meta-model objects may refer to those of another.
- * <p>
- * Invocation of this method will not affect any packages that have already
- * been initialized. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
*
+ * <p>This method is used to initialize {@link FrascatiPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static FrascatiPackage init() {
- if (isInited)
- return (FrascatiPackage) EPackage.Registry.INSTANCE
- .getEPackage(FrascatiPackage.eNS_URI);
+ if (isInited) return (FrascatiPackage)EPackage.Registry.INSTANCE.getEPackage(FrascatiPackage.eNS_URI);
// Obtain or create and register package
- FrascatiPackageImpl theFrascatiPackage = (FrascatiPackageImpl) (EPackage.Registry.INSTANCE
- .getEPackage(eNS_URI) instanceof FrascatiPackageImpl ? EPackage.Registry.INSTANCE
- .getEPackage(eNS_URI)
- : new FrascatiPackageImpl());
+ FrascatiPackageImpl theFrascatiPackage = (FrascatiPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof FrascatiPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new FrascatiPackageImpl());
isInited = true;
@@ -130,12 +150,14 @@
// Mark meta-data to indicate it can't be changed
theFrascatiPackage.freeze();
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(FrascatiPackage.eNS_URI, theFrascatiPackage);
return theFrascatiPackage;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getJBIBinding() {
@@ -144,106 +166,94 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getJBIBinding_AnyAttribute() {
- return (EAttribute) jbiBindingEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)jbiBindingEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getJBIBinding_ServiceName() {
- return (EAttribute) jbiBindingEClass.getEStructuralFeatures().get(3);
+ return (EAttribute)jbiBindingEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getJBIBinding_InterfaceName() {
- return (EAttribute) jbiBindingEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)jbiBindingEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getJBIBinding_InterfaceNamespace() {
- return (EAttribute) jbiBindingEClass.getEStructuralFeatures().get(2);
+ return (EAttribute)jbiBindingEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getJBIBinding_EndpointName() {
- return (EAttribute) jbiBindingEClass.getEStructuralFeatures().get(5);
+ return (EAttribute)jbiBindingEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getJBIBinding_OperationName() {
- return (EAttribute) jbiBindingEClass.getEStructuralFeatures().get(6);
+ return (EAttribute)jbiBindingEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getJBIBinding_OperationNamespace() {
- return (EAttribute) jbiBindingEClass.getEStructuralFeatures().get(7);
+ return (EAttribute)jbiBindingEClass.getEStructuralFeatures().get(7);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getJBIBinding_Timeout() {
- return (EAttribute) jbiBindingEClass.getEStructuralFeatures().get(8);
+ return (EAttribute)jbiBindingEClass.getEStructuralFeatures().get(8);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getJBIBinding_Wsdl() {
- return (EAttribute) jbiBindingEClass.getEStructuralFeatures().get(9);
+ return (EAttribute)jbiBindingEClass.getEStructuralFeatures().get(9);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getJBIBinding_Group() {
- return (EAttribute) jbiBindingEClass.getEStructuralFeatures().get(10);
+ return (EAttribute)jbiBindingEClass.getEStructuralFeatures().get(10);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getJBIBinding_ServiceNamespace() {
- return (EAttribute) jbiBindingEClass.getEStructuralFeatures().get(4);
+ return (EAttribute)jbiBindingEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getFractalImplementation() {
@@ -252,37 +262,30 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getFractalImplementation_AnyAttribute() {
- return (EAttribute) fractalImplementationEClass
- .getEStructuralFeatures().get(0);
+ return (EAttribute)fractalImplementationEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getFractalImplementation_Definition() {
- return (EAttribute) fractalImplementationEClass
- .getEStructuralFeatures().get(1);
+ return (EAttribute)fractalImplementationEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getFractalImplementation_Group() {
- return (EAttribute) fractalImplementationEClass
- .getEStructuralFeatures().get(2);
+ return (EAttribute)fractalImplementationEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getDocumentRoot() {
@@ -291,48 +294,277 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getDocumentRoot_ImplementationFractal() {
- return (EReference) documentRootEClass.getEStructuralFeatures().get(0);
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getDocumentRoot_BindingJBI() {
- return (EReference) documentRootEClass.getEStructuralFeatures().get(1);
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(1);
}
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ImplementationOsgi() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ImplementationScript() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_BindingRest() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_BindingRmi() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_BindingJsonRpc() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getOsgiImplementation() {
+ return osgiImplementationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getOsgiImplementation_Bundle() {
+ return (EAttribute)osgiImplementationEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getOsgiImplementation_AnyAttribute() {
+ return (EAttribute)osgiImplementationEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getOsgiImplementation_Group() {
+ return (EAttribute)osgiImplementationEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getScriptImplementation() {
+ return scriptImplementationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getScriptImplementation_Script() {
+ return (EAttribute)scriptImplementationEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getScriptImplementation_Language() {
+ return (EAttribute)scriptImplementationEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getScriptImplementation_AnyAttribute() {
+ return (EAttribute)scriptImplementationEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getScriptImplementation_Group() {
+ return (EAttribute)scriptImplementationEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getRestBinding() {
+ return restBindingEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getRestBinding_AnyAttribute() {
+ return (EAttribute)restBindingEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getRestBinding_Group() {
+ return (EAttribute)restBindingEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getRMIBinding() {
+ return rmiBindingEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getRMIBinding_Host() {
+ return (EAttribute)rmiBindingEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getRMIBinding_ServiceName() {
+ return (EAttribute)rmiBindingEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getRMIBinding_Port() {
+ return (EAttribute)rmiBindingEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getRMIBinding_AnyAttribute() {
+ return (EAttribute)rmiBindingEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getRMIBinding_Group() {
+ return (EAttribute)rmiBindingEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getJsonRpcBinding() {
+ return jsonRpcBindingEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getJsonRpcBinding_AnyAttribute() {
+ return (EAttribute)jsonRpcBindingEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getJsonRpcBinding_Group() {
+ return (EAttribute)jsonRpcBindingEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public FrascatiFactory getFrascatiFactory() {
- return (FrascatiFactory) getEFactoryInstance();
+ return (FrascatiFactory)getEFactoryInstance();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private boolean isCreated = false;
/**
- * Creates the meta-model objects for the package. This method is guarded to
- * have no affect on any invocation but its first. <!-- begin-user-doc -->
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void createPackageContents() {
- if (isCreated)
- return;
+ if (isCreated) return;
isCreated = true;
// Create classes and their features
@@ -350,22 +582,48 @@
createEAttribute(jbiBindingEClass, JBI_BINDING__GROUP);
fractalImplementationEClass = createEClass(FRACTAL_IMPLEMENTATION);
- createEAttribute(fractalImplementationEClass,
- FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE);
- createEAttribute(fractalImplementationEClass,
- FRACTAL_IMPLEMENTATION__DEFINITION);
- createEAttribute(fractalImplementationEClass,
- FRACTAL_IMPLEMENTATION__GROUP);
+ createEAttribute(fractalImplementationEClass, FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE);
+ createEAttribute(fractalImplementationEClass, FRACTAL_IMPLEMENTATION__DEFINITION);
+ createEAttribute(fractalImplementationEClass, FRACTAL_IMPLEMENTATION__GROUP);
documentRootEClass = createEClass(DOCUMENT_ROOT);
- createEReference(documentRootEClass,
- DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL);
createEReference(documentRootEClass, DOCUMENT_ROOT__BINDING_JBI);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__IMPLEMENTATION_OSGI);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__BINDING_REST);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__BINDING_RMI);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__BINDING_JSON_RPC);
+
+ osgiImplementationEClass = createEClass(OSGI_IMPLEMENTATION);
+ createEAttribute(osgiImplementationEClass, OSGI_IMPLEMENTATION__BUNDLE);
+ createEAttribute(osgiImplementationEClass, OSGI_IMPLEMENTATION__ANY_ATTRIBUTE);
+ createEAttribute(osgiImplementationEClass, OSGI_IMPLEMENTATION__GROUP);
+
+ scriptImplementationEClass = createEClass(SCRIPT_IMPLEMENTATION);
+ createEAttribute(scriptImplementationEClass, SCRIPT_IMPLEMENTATION__SCRIPT);
+ createEAttribute(scriptImplementationEClass, SCRIPT_IMPLEMENTATION__LANGUAGE);
+ createEAttribute(scriptImplementationEClass, SCRIPT_IMPLEMENTATION__ANY_ATTRIBUTE);
+ createEAttribute(scriptImplementationEClass, SCRIPT_IMPLEMENTATION__GROUP);
+
+ restBindingEClass = createEClass(REST_BINDING);
+ createEAttribute(restBindingEClass, REST_BINDING__ANY_ATTRIBUTE);
+ createEAttribute(restBindingEClass, REST_BINDING__GROUP);
+
+ rmiBindingEClass = createEClass(RMI_BINDING);
+ createEAttribute(rmiBindingEClass, RMI_BINDING__HOST);
+ createEAttribute(rmiBindingEClass, RMI_BINDING__SERVICE_NAME);
+ createEAttribute(rmiBindingEClass, RMI_BINDING__PORT);
+ createEAttribute(rmiBindingEClass, RMI_BINDING__ANY_ATTRIBUTE);
+ createEAttribute(rmiBindingEClass, RMI_BINDING__GROUP);
+
+ jsonRpcBindingEClass = createEClass(JSON_RPC_BINDING);
+ createEAttribute(jsonRpcBindingEClass, JSON_RPC_BINDING__ANY_ATTRIBUTE);
+ createEAttribute(jsonRpcBindingEClass, JSON_RPC_BINDING__GROUP);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private boolean isInitialized = false;
@@ -379,8 +637,7 @@
*/
@SuppressWarnings("nls")
public void initializePackageContents() {
- if (isInitialized)
- return;
+ if (isInitialized) return;
isInitialized = true;
// Initialize package
@@ -389,10 +646,8 @@
setNsURI(eNS_URI);
// Obtain other dependent packages
- ScaPackage theScaPackage = (ScaPackage) EPackage.Registry.INSTANCE
- .getEPackage(ScaPackage.eNS_URI);
- XMLTypePackage theXMLTypePackage = (XMLTypePackage) EPackage.Registry.INSTANCE
- .getEPackage(XMLTypePackage.eNS_URI);
+ ScaPackage theScaPackage = (ScaPackage)EPackage.Registry.INSTANCE.getEPackage(ScaPackage.eNS_URI);
+ XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
// Create type parameters
@@ -400,90 +655,68 @@
// Add supertypes to classes
jbiBindingEClass.getESuperTypes().add(theScaPackage.getBinding());
- fractalImplementationEClass.getESuperTypes().add(
- theScaPackage.getImplementation());
- documentRootEClass.getESuperTypes()
- .add(theScaPackage.getDocumentRoot());
+ fractalImplementationEClass.getESuperTypes().add(theScaPackage.getImplementation());
+ documentRootEClass.getESuperTypes().add(theScaPackage.getDocumentRoot());
+ osgiImplementationEClass.getESuperTypes().add(theScaPackage.getImplementation());
+ scriptImplementationEClass.getESuperTypes().add(theScaPackage.getImplementation());
+ restBindingEClass.getESuperTypes().add(theScaPackage.getBinding());
+ rmiBindingEClass.getESuperTypes().add(theScaPackage.getBinding());
+ jsonRpcBindingEClass.getESuperTypes().add(theScaPackage.getBinding());
// Initialize classes and features; add operations and parameters
- initEClass(jbiBindingEClass, JBIBinding.class, "JBIBinding",
- !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getJBIBinding_AnyAttribute(), ecorePackage
- .getEFeatureMapEntry(), "anyAttribute", null, 0, -1,
- JBIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getJBIBinding_InterfaceName(),
- ecorePackage.getEString(), "interfaceName", null, 0, 1,
- JBIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getJBIBinding_InterfaceNamespace(), theXMLTypePackage
- .getAnyURI(), "interfaceNamespace", null, 0, 1,
- JBIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getJBIBinding_ServiceName(), ecorePackage.getEString(),
- "serviceName", null, 0, 1, JBIBinding.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getJBIBinding_ServiceNamespace(), theXMLTypePackage
- .getAnyURI(), "serviceNamespace", null, 0, 1, JBIBinding.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getJBIBinding_EndpointName(), ecorePackage.getEString(),
- "endpointName", null, 0, 1, JBIBinding.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getJBIBinding_OperationName(),
- ecorePackage.getEString(), "operationName", null, 0, 1,
- JBIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getJBIBinding_OperationNamespace(), theXMLTypePackage
- .getAnyURI(), "operationNamespace", null, 0, 1,
- JBIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getJBIBinding_Timeout(), ecorePackage.getEInt(),
- "timeout", null, 0, 1, JBIBinding.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getJBIBinding_Wsdl(), ecorePackage.getEString(), "wsdl",
- null, 0, 1, JBIBinding.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEAttribute(getJBIBinding_Group(), ecorePackage
- .getEFeatureMapEntry(), "group", null, 0, -1, JBIBinding.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(jbiBindingEClass, JBIBinding.class, "JBIBinding", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getJBIBinding_AnyAttribute(), ecorePackage.getEFeatureMapEntry(), "anyAttribute", null, 0, -1, JBIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getJBIBinding_InterfaceName(), ecorePackage.getEString(), "interfaceName", null, 0, 1, JBIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getJBIBinding_InterfaceNamespace(), theXMLTypePackage.getAnyURI(), "interfaceNamespace", null, 0, 1, JBIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getJBIBinding_ServiceName(), ecorePackage.getEString(), "serviceName", null, 0, 1, JBIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getJBIBinding_ServiceNamespace(), theXMLTypePackage.getAnyURI(), "serviceNamespace", null, 0, 1, JBIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getJBIBinding_EndpointName(), ecorePackage.getEString(), "endpointName", null, 0, 1, JBIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getJBIBinding_OperationName(), ecorePackage.getEString(), "operationName", null, 0, 1, JBIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getJBIBinding_OperationNamespace(), theXMLTypePackage.getAnyURI(), "operationNamespace", null, 0, 1, JBIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getJBIBinding_Timeout(), ecorePackage.getEInt(), "timeout", null, 0, 1, JBIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getJBIBinding_Wsdl(), ecorePackage.getEString(), "wsdl", null, 0, 1, JBIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getJBIBinding_Group(), ecorePackage.getEFeatureMapEntry(), "group", null, 0, -1, JBIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(fractalImplementationEClass, FractalImplementation.class,
- "FractalImplementation", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getFractalImplementation_AnyAttribute(), ecorePackage
- .getEFeatureMapEntry(), "anyAttribute", null, 0, -1,
- FractalImplementation.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEAttribute(getFractalImplementation_Definition(), theXMLTypePackage
- .getString(), "definition", null, 1, 1,
- FractalImplementation.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEAttribute(getFractalImplementation_Group(), ecorePackage
- .getEFeatureMapEntry(), "group", null, 0, -1,
- FractalImplementation.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
+ initEClass(fractalImplementationEClass, FractalImplementation.class, "FractalImplementation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getFractalImplementation_AnyAttribute(), ecorePackage.getEFeatureMapEntry(), "anyAttribute", null, 0, -1, FractalImplementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getFractalImplementation_Definition(), theXMLTypePackage.getString(), "definition", null, 1, 1, FractalImplementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getFractalImplementation_Group(), ecorePackage.getEFeatureMapEntry(), "group", null, 0, -1, FractalImplementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot",
- !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getDocumentRoot_ImplementationFractal(), this
- .getFractalImplementation(), null, "implementationFractal",
- null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE,
- IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
- IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_BindingJBI(), this.getJBIBinding(),
- null, "bindingJBI", null, 0, -2, null, IS_TRANSIENT,
- IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getDocumentRoot_ImplementationFractal(), this.getFractalImplementation(), null, "implementationFractal", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_BindingJBI(), this.getJBIBinding(), null, "bindingJBI", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_ImplementationOsgi(), this.getOsgiImplementation(), null, "implementationOsgi", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_ImplementationScript(), this.getScriptImplementation(), null, "implementationScript", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_BindingRest(), this.getRestBinding(), null, "bindingRest", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_BindingRmi(), this.getRMIBinding(), null, "bindingRmi", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_BindingJsonRpc(), this.getJsonRpcBinding(), null, "bindingJsonRpc", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEClass(osgiImplementationEClass, OsgiImplementation.class, "OsgiImplementation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getOsgiImplementation_Bundle(), theXMLTypePackage.getString(), "bundle", null, 1, 1, OsgiImplementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getOsgiImplementation_AnyAttribute(), ecorePackage.getEFeatureMapEntry(), "anyAttribute", null, 0, -1, OsgiImplementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getOsgiImplementation_Group(), ecorePackage.getEFeatureMapEntry(), "group", null, 0, -1, OsgiImplementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(scriptImplementationEClass, ScriptImplementation.class, "ScriptImplementation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getScriptImplementation_Script(), theXMLTypePackage.getString(), "script", "", 0, 1, ScriptImplementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getScriptImplementation_Language(), theXMLTypePackage.getString(), "language", "", 0, 1, ScriptImplementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getScriptImplementation_AnyAttribute(), ecorePackage.getEFeatureMapEntry(), "anyAttribute", null, 0, -1, ScriptImplementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getScriptImplementation_Group(), ecorePackage.getEFeatureMapEntry(), "group", null, 0, -1, ScriptImplementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(restBindingEClass, RestBinding.class, "RestBinding", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getRestBinding_AnyAttribute(), ecorePackage.getEFeatureMapEntry(), "anyAttribute", null, 0, -1, RestBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getRestBinding_Group(), ecorePackage.getEFeatureMapEntry(), "group", null, 0, -1, RestBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(rmiBindingEClass, RMIBinding.class, "RMIBinding", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getRMIBinding_Host(), theXMLTypePackage.getString(), "host", null, 1, 1, RMIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getRMIBinding_ServiceName(), theXMLTypePackage.getString(), "serviceName", null, 1, 1, RMIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getRMIBinding_Port(), theXMLTypePackage.getString(), "port", null, 1, 1, RMIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getRMIBinding_AnyAttribute(), ecorePackage.getEFeatureMapEntry(), "anyAttribute", null, 0, -1, RMIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getRMIBinding_Group(), ecorePackage.getEFeatureMapEntry(), "group", null, 0, -1, RMIBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(jsonRpcBindingEClass, JsonRpcBinding.class, "JsonRpcBinding", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getJsonRpcBinding_AnyAttribute(), ecorePackage.getEFeatureMapEntry(), "anyAttribute", null, 0, -1, JsonRpcBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getJsonRpcBinding_Group(), ecorePackage.getEFeatureMapEntry(), "group", null, 0, -1, JsonRpcBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
// Create resource
createResource(eNS_URI);
@@ -501,32 +734,238 @@
*/
@SuppressWarnings("nls")
protected void createExtendedMetaDataAnnotations() {
- String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
- addAnnotation(jbiBindingEClass, source, new String[] { "name",
- "JBIBinding", "kind", "elementOnly" });
- addAnnotation(getJBIBinding_AnyAttribute(), source, new String[] {
- "kind", "attributeWildcard", "wildcards", "##any", "name",
- ":7", "processing", "lax" });
- addAnnotation(getJBIBinding_Group(), source, new String[] { "kind",
- "group", "name", "group:sca:jbibinding" });
- addAnnotation(fractalImplementationEClass, source, new String[] {
- "name", "FractalImplementation", "kind", "elementOnly" });
- addAnnotation(getFractalImplementation_AnyAttribute(), source,
- new String[] { "kind", "attributeWildcard", "wildcards",
- "##any", "name", ":3", "processing", "lax" });
- addAnnotation(getFractalImplementation_Group(), source, new String[] {
- "kind", "group", "name", "group:sca:fractalimplementation" });
- addAnnotation(documentRootEClass, source, new String[] { "name", "",
- "kind", "mixed" });
- addAnnotation(getDocumentRoot_ImplementationFractal(), source,
- new String[] { "kind", "element", "name",
- "implementation.fractal", "namespace",
- "##targetNamespace", "affiliation",
- "http://www.osoa.org/xmlns/sca/1.0#implementation" });
- addAnnotation(getDocumentRoot_BindingJBI(), source, new String[] {
- "kind", "element", "name", "binding.jbi", "namespace",
- "##targetNamespace", "affiliation",
- "http://www.osoa.org/xmlns/sca/1.0#binding" });
+ String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
+ addAnnotation
+ (jbiBindingEClass,
+ source,
+ new String[] {
+ "name", "JBIBinding",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getJBIBinding_AnyAttribute(),
+ source,
+ new String[] {
+ "kind", "attributeWildcard",
+ "wildcards", "##any",
+ "name", ":7",
+ "processing", "lax"
+ });
+ addAnnotation
+ (getJBIBinding_Group(),
+ source,
+ new String[] {
+ "kind", "group",
+ "name", "group:sca:jbibinding"
+ });
+ addAnnotation
+ (fractalImplementationEClass,
+ source,
+ new String[] {
+ "name", "FractalImplementation",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getFractalImplementation_AnyAttribute(),
+ source,
+ new String[] {
+ "kind", "attributeWildcard",
+ "wildcards", "##any",
+ "name", ":3",
+ "processing", "lax"
+ });
+ addAnnotation
+ (getFractalImplementation_Group(),
+ source,
+ new String[] {
+ "kind", "group",
+ "name", "group:sca:fractalimplementation"
+ });
+ addAnnotation
+ (documentRootEClass,
+ source,
+ new String[] {
+ "name", "",
+ "kind", "mixed"
+ });
+ addAnnotation
+ (getDocumentRoot_ImplementationFractal(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "implementation.fractal",
+ "namespace", "##targetNamespace",
+ "affiliation", "http://www.osoa.org/xmlns/sca/1.0#implementation"
+ });
+ addAnnotation
+ (getDocumentRoot_BindingJBI(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "binding.jbi",
+ "namespace", "##targetNamespace",
+ "affiliation", "http://www.osoa.org/xmlns/sca/1.0#binding"
+ });
+ addAnnotation
+ (getDocumentRoot_ImplementationOsgi(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "implementation.osgi",
+ "namespace", "##targetNamespace",
+ "affiliation", "http://www.osoa.org/xmlns/sca/1.0#implementation"
+ });
+ addAnnotation
+ (getDocumentRoot_ImplementationScript(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "implementation.script",
+ "namespace", "##targetNamespace",
+ "affiliation", "http://www.osoa.org/xmlns/sca/1.0#implementation"
+ });
+ addAnnotation
+ (getDocumentRoot_BindingRest(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "binding.rest",
+ "namespace", "##targetNamespace",
+ "affiliation", "http://www.osoa.org/xmlns/sca/1.0#binding"
+ });
+ addAnnotation
+ (getDocumentRoot_BindingRmi(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "binding.rmi",
+ "namespace", "##targetNamespace",
+ "affiliation", "http://www.osoa.org/xmlns/sca/1.0#binding"
+ });
+ addAnnotation
+ (getDocumentRoot_BindingJsonRpc(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "binding.jsonrpc",
+ "namespace", "##targetNamespace",
+ "affiliation", "http://www.osoa.org/xmlns/sca/1.0#binding"
+ });
+ addAnnotation
+ (osgiImplementationEClass,
+ source,
+ new String[] {
+ "name", "OsgiImplementation",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getOsgiImplementation_AnyAttribute(),
+ source,
+ new String[] {
+ "kind", "attributeWildcard",
+ "wildcards", "##any",
+ "name", ":3",
+ "processing", "lax"
+ });
+ addAnnotation
+ (getOsgiImplementation_Group(),
+ source,
+ new String[] {
+ "kind", "group",
+ "name", "group:sca:osgiimplementation"
+ });
+ addAnnotation
+ (scriptImplementationEClass,
+ source,
+ new String[] {
+ "name", "ScriptImplementation",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getScriptImplementation_AnyAttribute(),
+ source,
+ new String[] {
+ "kind", "attributeWildcard",
+ "wildcards", "##any",
+ "name", ":3",
+ "processing", "lax"
+ });
+ addAnnotation
+ (getScriptImplementation_Group(),
+ source,
+ new String[] {
+ "kind", "group",
+ "name", "group:sca:scriptimplementation"
+ });
+ addAnnotation
+ (restBindingEClass,
+ source,
+ new String[] {
+ "name", "RestBinding",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getRestBinding_AnyAttribute(),
+ source,
+ new String[] {
+ "kind", "attributeWildcard",
+ "wildcards", "##any",
+ "name", ":3",
+ "processing", "lax"
+ });
+ addAnnotation
+ (getRestBinding_Group(),
+ source,
+ new String[] {
+ "kind", "group",
+ "name", "group:sca:restbinding"
+ });
+ addAnnotation
+ (rmiBindingEClass,
+ source,
+ new String[] {
+ "name", "RMIBinding",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getRMIBinding_AnyAttribute(),
+ source,
+ new String[] {
+ "kind", "attributeWildcard",
+ "wildcards", "##any",
+ "name", ":3",
+ "processing", "lax"
+ });
+ addAnnotation
+ (getRMIBinding_Group(),
+ source,
+ new String[] {
+ "kind", "group",
+ "name", "group:sca:rmibinding"
+ });
+ addAnnotation
+ (jsonRpcBindingEClass,
+ source,
+ new String[] {
+ "name", "JsonRpcBinding",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getJsonRpcBinding_AnyAttribute(),
+ source,
+ new String[] {
+ "kind", "attributeWildcard",
+ "wildcards", "##any",
+ "name", ":3",
+ "processing", "lax"
+ });
+ addAnnotation
+ (getJsonRpcBinding_Group(),
+ source,
+ new String[] {
+ "kind", "group",
+ "name", "group:sca:jsonrpcbinding"
+ });
}
} // FrascatiPackageImpl
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/JBIBindingImpl.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/JBIBindingImpl.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/JBIBindingImpl.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -29,50 +29,27 @@
* <p>
* The following features are implemented:
* <ul>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getAnyAttribute
- * <em>Any Attribute</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getInterfaceName
- * <em>Interface Name</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getInterfaceNamespace
- * <em>Interface Namespace</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getServiceName
- * <em>Service Name</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getServiceNamespace
- * <em>Service Namespace</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getEndpointName
- * <em>Endpoint Name</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getOperationName
- * <em>Operation Name</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getOperationNamespace
- * <em>Operation Namespace</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getTimeout
- * <em>Timeout</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getWsdl
- * <em>Wsdl</em>}</li>
- * <li>
- * {@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getGroup
- * <em>Group</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getAnyAttribute <em>Any Attribute</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getInterfaceName <em>Interface Name</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getInterfaceNamespace <em>Interface Namespace</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getServiceName <em>Service Name</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getServiceNamespace <em>Service Namespace</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getEndpointName <em>Endpoint Name</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getOperationName <em>Operation Name</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getOperationNamespace <em>Operation Namespace</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getTimeout <em>Timeout</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getWsdl <em>Wsdl</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.JBIBindingImpl#getGroup <em>Group</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class JBIBindingImpl extends BindingImpl implements JBIBinding {
/**
- * The cached value of the '{@link #getAnyAttribute()
- * <em>Any Attribute</em>}' attribute list. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getAnyAttribute() <em>Any Attribute</em>}' attribute list.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getAnyAttribute()
* @generated
* @ordered
@@ -80,10 +57,9 @@
protected FeatureMap anyAttribute;
/**
- * The default value of the '{@link #getInterfaceName()
- * <em>Interface Name</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getInterfaceName() <em>Interface Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getInterfaceName()
* @generated
* @ordered
@@ -91,10 +67,9 @@
protected static final String INTERFACE_NAME_EDEFAULT = null;
/**
- * The cached value of the '{@link #getInterfaceName()
- * <em>Interface Name</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getInterfaceName() <em>Interface Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getInterfaceName()
* @generated
* @ordered
@@ -102,10 +77,9 @@
protected String interfaceName = INTERFACE_NAME_EDEFAULT;
/**
- * The default value of the '{@link #getInterfaceNamespace()
- * <em>Interface Namespace</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getInterfaceNamespace() <em>Interface Namespace</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getInterfaceNamespace()
* @generated
* @ordered
@@ -113,10 +87,9 @@
protected static final String INTERFACE_NAMESPACE_EDEFAULT = null;
/**
- * The cached value of the '{@link #getInterfaceNamespace()
- * <em>Interface Namespace</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getInterfaceNamespace() <em>Interface Namespace</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getInterfaceNamespace()
* @generated
* @ordered
@@ -124,9 +97,8 @@
protected String interfaceNamespace = INTERFACE_NAMESPACE_EDEFAULT;
/**
- * The default value of the '{@link #getServiceName() <em>Service Name</em>}
- * ' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getServiceName() <em>Service Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getServiceName()
* @generated
* @ordered
@@ -134,9 +106,8 @@
protected static final String SERVICE_NAME_EDEFAULT = null;
/**
- * The cached value of the '{@link #getServiceName() <em>Service Name</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getServiceName() <em>Service Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getServiceName()
* @generated
* @ordered
@@ -144,10 +115,9 @@
protected String serviceName = SERVICE_NAME_EDEFAULT;
/**
- * The default value of the '{@link #getServiceNamespace()
- * <em>Service Namespace</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getServiceNamespace() <em>Service Namespace</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getServiceNamespace()
* @generated
* @ordered
@@ -155,10 +125,9 @@
protected static final String SERVICE_NAMESPACE_EDEFAULT = null;
/**
- * The cached value of the '{@link #getServiceNamespace()
- * <em>Service Namespace</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getServiceNamespace() <em>Service Namespace</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getServiceNamespace()
* @generated
* @ordered
@@ -166,10 +135,9 @@
protected String serviceNamespace = SERVICE_NAMESPACE_EDEFAULT;
/**
- * The default value of the '{@link #getEndpointName()
- * <em>Endpoint Name</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getEndpointName() <em>Endpoint Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getEndpointName()
* @generated
* @ordered
@@ -177,10 +145,9 @@
protected static final String ENDPOINT_NAME_EDEFAULT = null;
/**
- * The cached value of the '{@link #getEndpointName()
- * <em>Endpoint Name</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getEndpointName() <em>Endpoint Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getEndpointName()
* @generated
* @ordered
@@ -188,10 +155,9 @@
protected String endpointName = ENDPOINT_NAME_EDEFAULT;
/**
- * The default value of the '{@link #getOperationName()
- * <em>Operation Name</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getOperationName() <em>Operation Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getOperationName()
* @generated
* @ordered
@@ -199,10 +165,9 @@
protected static final String OPERATION_NAME_EDEFAULT = null;
/**
- * The cached value of the '{@link #getOperationName()
- * <em>Operation Name</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getOperationName() <em>Operation Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getOperationName()
* @generated
* @ordered
@@ -210,10 +175,9 @@
protected String operationName = OPERATION_NAME_EDEFAULT;
/**
- * The default value of the '{@link #getOperationNamespace()
- * <em>Operation Namespace</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getOperationNamespace() <em>Operation Namespace</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getOperationNamespace()
* @generated
* @ordered
@@ -221,10 +185,9 @@
protected static final String OPERATION_NAMESPACE_EDEFAULT = null;
/**
- * The cached value of the '{@link #getOperationNamespace()
- * <em>Operation Namespace</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getOperationNamespace() <em>Operation Namespace</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getOperationNamespace()
* @generated
* @ordered
@@ -232,9 +195,8 @@
protected String operationNamespace = OPERATION_NAMESPACE_EDEFAULT;
/**
- * The default value of the '{@link #getTimeout() <em>Timeout</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getTimeout() <em>Timeout</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getTimeout()
* @generated
* @ordered
@@ -242,9 +204,8 @@
protected static final int TIMEOUT_EDEFAULT = 0;
/**
- * The cached value of the '{@link #getTimeout() <em>Timeout</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getTimeout() <em>Timeout</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getTimeout()
* @generated
* @ordered
@@ -254,7 +215,6 @@
/**
* The default value of the '{@link #getWsdl() <em>Wsdl</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getWsdl()
* @generated
* @ordered
@@ -264,7 +224,6 @@
/**
* The cached value of the '{@link #getWsdl() <em>Wsdl</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getWsdl()
* @generated
* @ordered
@@ -272,9 +231,8 @@
protected String wsdl = WSDL_EDEFAULT;
/**
- * The cached value of the '{@link #getGroup() <em>Group</em>}' attribute
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getGroup() <em>Group</em>}' attribute list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getGroup()
* @generated
* @ordered
@@ -283,7 +241,6 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected JBIBindingImpl() {
@@ -292,7 +249,6 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -302,20 +258,17 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public FeatureMap getAnyAttribute() {
if (anyAttribute == null) {
- anyAttribute = new BasicFeatureMap(this,
- FrascatiPackage.JBI_BINDING__ANY_ATTRIBUTE);
+ anyAttribute = new BasicFeatureMap(this, FrascatiPackage.JBI_BINDING__ANY_ATTRIBUTE);
}
return anyAttribute;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getServiceName() {
@@ -324,21 +277,17 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setServiceName(String newServiceName) {
String oldServiceName = serviceName;
serviceName = newServiceName;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- FrascatiPackage.JBI_BINDING__SERVICE_NAME, oldServiceName,
- serviceName));
+ eNotify(new ENotificationImpl(this, Notification.SET, FrascatiPackage.JBI_BINDING__SERVICE_NAME, oldServiceName, serviceName));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getInterfaceName() {
@@ -347,21 +296,17 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setInterfaceName(String newInterfaceName) {
String oldInterfaceName = interfaceName;
interfaceName = newInterfaceName;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- FrascatiPackage.JBI_BINDING__INTERFACE_NAME,
- oldInterfaceName, interfaceName));
+ eNotify(new ENotificationImpl(this, Notification.SET, FrascatiPackage.JBI_BINDING__INTERFACE_NAME, oldInterfaceName, interfaceName));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getInterfaceNamespace() {
@@ -370,21 +315,17 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setInterfaceNamespace(String newInterfaceNamespace) {
String oldInterfaceNamespace = interfaceNamespace;
interfaceNamespace = newInterfaceNamespace;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- FrascatiPackage.JBI_BINDING__INTERFACE_NAMESPACE,
- oldInterfaceNamespace, interfaceNamespace));
+ eNotify(new ENotificationImpl(this, Notification.SET, FrascatiPackage.JBI_BINDING__INTERFACE_NAMESPACE, oldInterfaceNamespace, interfaceNamespace));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getEndpointName() {
@@ -393,21 +334,17 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setEndpointName(String newEndpointName) {
String oldEndpointName = endpointName;
endpointName = newEndpointName;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- FrascatiPackage.JBI_BINDING__ENDPOINT_NAME,
- oldEndpointName, endpointName));
+ eNotify(new ENotificationImpl(this, Notification.SET, FrascatiPackage.JBI_BINDING__ENDPOINT_NAME, oldEndpointName, endpointName));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getOperationName() {
@@ -416,21 +353,17 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setOperationName(String newOperationName) {
String oldOperationName = operationName;
operationName = newOperationName;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- FrascatiPackage.JBI_BINDING__OPERATION_NAME,
- oldOperationName, operationName));
+ eNotify(new ENotificationImpl(this, Notification.SET, FrascatiPackage.JBI_BINDING__OPERATION_NAME, oldOperationName, operationName));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getOperationNamespace() {
@@ -439,21 +372,17 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setOperationNamespace(String newOperationNamespace) {
String oldOperationNamespace = operationNamespace;
operationNamespace = newOperationNamespace;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- FrascatiPackage.JBI_BINDING__OPERATION_NAMESPACE,
- oldOperationNamespace, operationNamespace));
+ eNotify(new ENotificationImpl(this, Notification.SET, FrascatiPackage.JBI_BINDING__OPERATION_NAMESPACE, oldOperationNamespace, operationNamespace));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public int getTimeout() {
@@ -462,20 +391,17 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setTimeout(int newTimeout) {
int oldTimeout = timeout;
timeout = newTimeout;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- FrascatiPackage.JBI_BINDING__TIMEOUT, oldTimeout, timeout));
+ eNotify(new ENotificationImpl(this, Notification.SET, FrascatiPackage.JBI_BINDING__TIMEOUT, oldTimeout, timeout));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getWsdl() {
@@ -484,33 +410,28 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setWsdl(String newWsdl) {
String oldWsdl = wsdl;
wsdl = newWsdl;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- FrascatiPackage.JBI_BINDING__WSDL, oldWsdl, wsdl));
+ eNotify(new ENotificationImpl(this, Notification.SET, FrascatiPackage.JBI_BINDING__WSDL, oldWsdl, wsdl));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public FeatureMap getGroup() {
if (group == null) {
- group = new BasicFeatureMap(this,
- FrascatiPackage.JBI_BINDING__GROUP);
+ group = new BasicFeatureMap(this, FrascatiPackage.JBI_BINDING__GROUP);
}
return group;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getServiceNamespace() {
@@ -519,216 +440,195 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setServiceNamespace(String newServiceNamespace) {
String oldServiceNamespace = serviceNamespace;
serviceNamespace = newServiceNamespace;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- FrascatiPackage.JBI_BINDING__SERVICE_NAMESPACE,
- oldServiceNamespace, serviceNamespace));
+ eNotify(new ENotificationImpl(this, Notification.SET, FrascatiPackage.JBI_BINDING__SERVICE_NAMESPACE, oldServiceNamespace, serviceNamespace));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case FrascatiPackage.JBI_BINDING__ANY_ATTRIBUTE:
- return ((InternalEList<?>) getAnyAttribute()).basicRemove(otherEnd,
- msgs);
- case FrascatiPackage.JBI_BINDING__GROUP:
- return ((InternalEList<?>) getGroup()).basicRemove(otherEnd, msgs);
+ case FrascatiPackage.JBI_BINDING__ANY_ATTRIBUTE:
+ return ((InternalEList<?>)getAnyAttribute()).basicRemove(otherEnd, msgs);
+ case FrascatiPackage.JBI_BINDING__GROUP:
+ return ((InternalEList<?>)getGroup()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FrascatiPackage.JBI_BINDING__ANY_ATTRIBUTE:
- if (coreType)
- return getAnyAttribute();
- return ((FeatureMap.Internal) getAnyAttribute()).getWrapper();
- case FrascatiPackage.JBI_BINDING__INTERFACE_NAME:
- return getInterfaceName();
- case FrascatiPackage.JBI_BINDING__INTERFACE_NAMESPACE:
- return getInterfaceNamespace();
- case FrascatiPackage.JBI_BINDING__SERVICE_NAME:
- return getServiceName();
- case FrascatiPackage.JBI_BINDING__SERVICE_NAMESPACE:
- return getServiceNamespace();
- case FrascatiPackage.JBI_BINDING__ENDPOINT_NAME:
- return getEndpointName();
- case FrascatiPackage.JBI_BINDING__OPERATION_NAME:
- return getOperationName();
- case FrascatiPackage.JBI_BINDING__OPERATION_NAMESPACE:
- return getOperationNamespace();
- case FrascatiPackage.JBI_BINDING__TIMEOUT:
- return new Integer(getTimeout());
- case FrascatiPackage.JBI_BINDING__WSDL:
- return getWsdl();
- case FrascatiPackage.JBI_BINDING__GROUP:
- if (coreType)
- return getGroup();
- return ((FeatureMap.Internal) getGroup()).getWrapper();
+ case FrascatiPackage.JBI_BINDING__ANY_ATTRIBUTE:
+ if (coreType) return getAnyAttribute();
+ return ((FeatureMap.Internal)getAnyAttribute()).getWrapper();
+ case FrascatiPackage.JBI_BINDING__INTERFACE_NAME:
+ return getInterfaceName();
+ case FrascatiPackage.JBI_BINDING__INTERFACE_NAMESPACE:
+ return getInterfaceNamespace();
+ case FrascatiPackage.JBI_BINDING__SERVICE_NAME:
+ return getServiceName();
+ case FrascatiPackage.JBI_BINDING__SERVICE_NAMESPACE:
+ return getServiceNamespace();
+ case FrascatiPackage.JBI_BINDING__ENDPOINT_NAME:
+ return getEndpointName();
+ case FrascatiPackage.JBI_BINDING__OPERATION_NAME:
+ return getOperationName();
+ case FrascatiPackage.JBI_BINDING__OPERATION_NAMESPACE:
+ return getOperationNamespace();
+ case FrascatiPackage.JBI_BINDING__TIMEOUT:
+ return getTimeout();
+ case FrascatiPackage.JBI_BINDING__WSDL:
+ return getWsdl();
+ case FrascatiPackage.JBI_BINDING__GROUP:
+ if (coreType) return getGroup();
+ return ((FeatureMap.Internal)getGroup()).getWrapper();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FrascatiPackage.JBI_BINDING__ANY_ATTRIBUTE:
- ((FeatureMap.Internal) getAnyAttribute()).set(newValue);
- return;
- case FrascatiPackage.JBI_BINDING__INTERFACE_NAME:
- setInterfaceName((String) newValue);
- return;
- case FrascatiPackage.JBI_BINDING__INTERFACE_NAMESPACE:
- setInterfaceNamespace((String) newValue);
- return;
- case FrascatiPackage.JBI_BINDING__SERVICE_NAME:
- setServiceName((String) newValue);
- return;
- case FrascatiPackage.JBI_BINDING__SERVICE_NAMESPACE:
- setServiceNamespace((String) newValue);
- return;
- case FrascatiPackage.JBI_BINDING__ENDPOINT_NAME:
- setEndpointName((String) newValue);
- return;
- case FrascatiPackage.JBI_BINDING__OPERATION_NAME:
- setOperationName((String) newValue);
- return;
- case FrascatiPackage.JBI_BINDING__OPERATION_NAMESPACE:
- setOperationNamespace((String) newValue);
- return;
- case FrascatiPackage.JBI_BINDING__TIMEOUT:
- setTimeout(((Integer) newValue).intValue());
- return;
- case FrascatiPackage.JBI_BINDING__WSDL:
- setWsdl((String) newValue);
- return;
- case FrascatiPackage.JBI_BINDING__GROUP:
- ((FeatureMap.Internal) getGroup()).set(newValue);
- return;
+ case FrascatiPackage.JBI_BINDING__ANY_ATTRIBUTE:
+ ((FeatureMap.Internal)getAnyAttribute()).set(newValue);
+ return;
+ case FrascatiPackage.JBI_BINDING__INTERFACE_NAME:
+ setInterfaceName((String)newValue);
+ return;
+ case FrascatiPackage.JBI_BINDING__INTERFACE_NAMESPACE:
+ setInterfaceNamespace((String)newValue);
+ return;
+ case FrascatiPackage.JBI_BINDING__SERVICE_NAME:
+ setServiceName((String)newValue);
+ return;
+ case FrascatiPackage.JBI_BINDING__SERVICE_NAMESPACE:
+ setServiceNamespace((String)newValue);
+ return;
+ case FrascatiPackage.JBI_BINDING__ENDPOINT_NAME:
+ setEndpointName((String)newValue);
+ return;
+ case FrascatiPackage.JBI_BINDING__OPERATION_NAME:
+ setOperationName((String)newValue);
+ return;
+ case FrascatiPackage.JBI_BINDING__OPERATION_NAMESPACE:
+ setOperationNamespace((String)newValue);
+ return;
+ case FrascatiPackage.JBI_BINDING__TIMEOUT:
+ setTimeout((Integer)newValue);
+ return;
+ case FrascatiPackage.JBI_BINDING__WSDL:
+ setWsdl((String)newValue);
+ return;
+ case FrascatiPackage.JBI_BINDING__GROUP:
+ ((FeatureMap.Internal)getGroup()).set(newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FrascatiPackage.JBI_BINDING__ANY_ATTRIBUTE:
- getAnyAttribute().clear();
- return;
- case FrascatiPackage.JBI_BINDING__INTERFACE_NAME:
- setInterfaceName(INTERFACE_NAME_EDEFAULT);
- return;
- case FrascatiPackage.JBI_BINDING__INTERFACE_NAMESPACE:
- setInterfaceNamespace(INTERFACE_NAMESPACE_EDEFAULT);
- return;
- case FrascatiPackage.JBI_BINDING__SERVICE_NAME:
- setServiceName(SERVICE_NAME_EDEFAULT);
- return;
- case FrascatiPackage.JBI_BINDING__SERVICE_NAMESPACE:
- setServiceNamespace(SERVICE_NAMESPACE_EDEFAULT);
- return;
- case FrascatiPackage.JBI_BINDING__ENDPOINT_NAME:
- setEndpointName(ENDPOINT_NAME_EDEFAULT);
- return;
- case FrascatiPackage.JBI_BINDING__OPERATION_NAME:
- setOperationName(OPERATION_NAME_EDEFAULT);
- return;
- case FrascatiPackage.JBI_BINDING__OPERATION_NAMESPACE:
- setOperationNamespace(OPERATION_NAMESPACE_EDEFAULT);
- return;
- case FrascatiPackage.JBI_BINDING__TIMEOUT:
- setTimeout(TIMEOUT_EDEFAULT);
- return;
- case FrascatiPackage.JBI_BINDING__WSDL:
- setWsdl(WSDL_EDEFAULT);
- return;
- case FrascatiPackage.JBI_BINDING__GROUP:
- getGroup().clear();
- return;
+ case FrascatiPackage.JBI_BINDING__ANY_ATTRIBUTE:
+ getAnyAttribute().clear();
+ return;
+ case FrascatiPackage.JBI_BINDING__INTERFACE_NAME:
+ setInterfaceName(INTERFACE_NAME_EDEFAULT);
+ return;
+ case FrascatiPackage.JBI_BINDING__INTERFACE_NAMESPACE:
+ setInterfaceNamespace(INTERFACE_NAMESPACE_EDEFAULT);
+ return;
+ case FrascatiPackage.JBI_BINDING__SERVICE_NAME:
+ setServiceName(SERVICE_NAME_EDEFAULT);
+ return;
+ case FrascatiPackage.JBI_BINDING__SERVICE_NAMESPACE:
+ setServiceNamespace(SERVICE_NAMESPACE_EDEFAULT);
+ return;
+ case FrascatiPackage.JBI_BINDING__ENDPOINT_NAME:
+ setEndpointName(ENDPOINT_NAME_EDEFAULT);
+ return;
+ case FrascatiPackage.JBI_BINDING__OPERATION_NAME:
+ setOperationName(OPERATION_NAME_EDEFAULT);
+ return;
+ case FrascatiPackage.JBI_BINDING__OPERATION_NAMESPACE:
+ setOperationNamespace(OPERATION_NAMESPACE_EDEFAULT);
+ return;
+ case FrascatiPackage.JBI_BINDING__TIMEOUT:
+ setTimeout(TIMEOUT_EDEFAULT);
+ return;
+ case FrascatiPackage.JBI_BINDING__WSDL:
+ setWsdl(WSDL_EDEFAULT);
+ return;
+ case FrascatiPackage.JBI_BINDING__GROUP:
+ getGroup().clear();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FrascatiPackage.JBI_BINDING__ANY_ATTRIBUTE:
- return anyAttribute != null && !anyAttribute.isEmpty();
- case FrascatiPackage.JBI_BINDING__INTERFACE_NAME:
- return INTERFACE_NAME_EDEFAULT == null ? interfaceName != null
- : !INTERFACE_NAME_EDEFAULT.equals(interfaceName);
- case FrascatiPackage.JBI_BINDING__INTERFACE_NAMESPACE:
- return INTERFACE_NAMESPACE_EDEFAULT == null ? interfaceNamespace != null
- : !INTERFACE_NAMESPACE_EDEFAULT.equals(interfaceNamespace);
- case FrascatiPackage.JBI_BINDING__SERVICE_NAME:
- return SERVICE_NAME_EDEFAULT == null ? serviceName != null
- : !SERVICE_NAME_EDEFAULT.equals(serviceName);
- case FrascatiPackage.JBI_BINDING__SERVICE_NAMESPACE:
- return SERVICE_NAMESPACE_EDEFAULT == null ? serviceNamespace != null
- : !SERVICE_NAMESPACE_EDEFAULT.equals(serviceNamespace);
- case FrascatiPackage.JBI_BINDING__ENDPOINT_NAME:
- return ENDPOINT_NAME_EDEFAULT == null ? endpointName != null
- : !ENDPOINT_NAME_EDEFAULT.equals(endpointName);
- case FrascatiPackage.JBI_BINDING__OPERATION_NAME:
- return OPERATION_NAME_EDEFAULT == null ? operationName != null
- : !OPERATION_NAME_EDEFAULT.equals(operationName);
- case FrascatiPackage.JBI_BINDING__OPERATION_NAMESPACE:
- return OPERATION_NAMESPACE_EDEFAULT == null ? operationNamespace != null
- : !OPERATION_NAMESPACE_EDEFAULT.equals(operationNamespace);
- case FrascatiPackage.JBI_BINDING__TIMEOUT:
- return timeout != TIMEOUT_EDEFAULT;
- case FrascatiPackage.JBI_BINDING__WSDL:
- return WSDL_EDEFAULT == null ? wsdl != null : !WSDL_EDEFAULT
- .equals(wsdl);
- case FrascatiPackage.JBI_BINDING__GROUP:
- return group != null && !group.isEmpty();
+ case FrascatiPackage.JBI_BINDING__ANY_ATTRIBUTE:
+ return anyAttribute != null && !anyAttribute.isEmpty();
+ case FrascatiPackage.JBI_BINDING__INTERFACE_NAME:
+ return INTERFACE_NAME_EDEFAULT == null ? interfaceName != null : !INTERFACE_NAME_EDEFAULT.equals(interfaceName);
+ case FrascatiPackage.JBI_BINDING__INTERFACE_NAMESPACE:
+ return INTERFACE_NAMESPACE_EDEFAULT == null ? interfaceNamespace != null : !INTERFACE_NAMESPACE_EDEFAULT.equals(interfaceNamespace);
+ case FrascatiPackage.JBI_BINDING__SERVICE_NAME:
+ return SERVICE_NAME_EDEFAULT == null ? serviceName != null : !SERVICE_NAME_EDEFAULT.equals(serviceName);
+ case FrascatiPackage.JBI_BINDING__SERVICE_NAMESPACE:
+ return SERVICE_NAMESPACE_EDEFAULT == null ? serviceNamespace != null : !SERVICE_NAMESPACE_EDEFAULT.equals(serviceNamespace);
+ case FrascatiPackage.JBI_BINDING__ENDPOINT_NAME:
+ return ENDPOINT_NAME_EDEFAULT == null ? endpointName != null : !ENDPOINT_NAME_EDEFAULT.equals(endpointName);
+ case FrascatiPackage.JBI_BINDING__OPERATION_NAME:
+ return OPERATION_NAME_EDEFAULT == null ? operationName != null : !OPERATION_NAME_EDEFAULT.equals(operationName);
+ case FrascatiPackage.JBI_BINDING__OPERATION_NAMESPACE:
+ return OPERATION_NAMESPACE_EDEFAULT == null ? operationNamespace != null : !OPERATION_NAMESPACE_EDEFAULT.equals(operationNamespace);
+ case FrascatiPackage.JBI_BINDING__TIMEOUT:
+ return timeout != TIMEOUT_EDEFAULT;
+ case FrascatiPackage.JBI_BINDING__WSDL:
+ return WSDL_EDEFAULT == null ? wsdl != null : !WSDL_EDEFAULT.equals(wsdl);
+ case FrascatiPackage.JBI_BINDING__GROUP:
+ return group != null && !group.isEmpty();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("nls")
@Override
public String toString() {
- if (eIsProxy())
- return super.toString();
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (anyAttribute: ");
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/JsonRpcBindingImpl.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/JsonRpcBindingImpl.java (rev 0)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/JsonRpcBindingImpl.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -0,0 +1,205 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.stp.sca.domainmodel.frascati.impl;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage;
+import org.eclipse.stp.sca.domainmodel.frascati.JsonRpcBinding;
+
+import org.eclipse.stp.sca.impl.BindingImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Json Rpc Binding</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.JsonRpcBindingImpl#getAnyAttribute <em>Any Attribute</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.JsonRpcBindingImpl#getGroup <em>Group</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class JsonRpcBindingImpl extends BindingImpl implements JsonRpcBinding {
+ /**
+ * The cached value of the '{@link #getAnyAttribute() <em>Any Attribute</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAnyAttribute()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap anyAttribute;
+
+ /**
+ * The cached value of the '{@link #getGroup() <em>Group</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGroup()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap group;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected JsonRpcBindingImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return FrascatiPackage.Literals.JSON_RPC_BINDING;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getAnyAttribute() {
+ if (anyAttribute == null) {
+ anyAttribute = new BasicFeatureMap(this, FrascatiPackage.JSON_RPC_BINDING__ANY_ATTRIBUTE);
+ }
+ return anyAttribute;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getGroup() {
+ if (group == null) {
+ group = new BasicFeatureMap(this, FrascatiPackage.JSON_RPC_BINDING__GROUP);
+ }
+ return group;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case FrascatiPackage.JSON_RPC_BINDING__ANY_ATTRIBUTE:
+ return ((InternalEList<?>)getAnyAttribute()).basicRemove(otherEnd, msgs);
+ case FrascatiPackage.JSON_RPC_BINDING__GROUP:
+ return ((InternalEList<?>)getGroup()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case FrascatiPackage.JSON_RPC_BINDING__ANY_ATTRIBUTE:
+ if (coreType) return getAnyAttribute();
+ return ((FeatureMap.Internal)getAnyAttribute()).getWrapper();
+ case FrascatiPackage.JSON_RPC_BINDING__GROUP:
+ if (coreType) return getGroup();
+ return ((FeatureMap.Internal)getGroup()).getWrapper();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case FrascatiPackage.JSON_RPC_BINDING__ANY_ATTRIBUTE:
+ ((FeatureMap.Internal)getAnyAttribute()).set(newValue);
+ return;
+ case FrascatiPackage.JSON_RPC_BINDING__GROUP:
+ ((FeatureMap.Internal)getGroup()).set(newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case FrascatiPackage.JSON_RPC_BINDING__ANY_ATTRIBUTE:
+ getAnyAttribute().clear();
+ return;
+ case FrascatiPackage.JSON_RPC_BINDING__GROUP:
+ getGroup().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case FrascatiPackage.JSON_RPC_BINDING__ANY_ATTRIBUTE:
+ return anyAttribute != null && !anyAttribute.isEmpty();
+ case FrascatiPackage.JSON_RPC_BINDING__GROUP:
+ return group != null && !group.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (anyAttribute: ");
+ result.append(anyAttribute);
+ result.append(", group: ");
+ result.append(group);
+ result.append(')');
+ return result.toString();
+ }
+
+} //JsonRpcBindingImpl
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/JsonRpcBindingImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/OsgiImplementationImpl.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/OsgiImplementationImpl.java (rev 0)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/OsgiImplementationImpl.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -0,0 +1,262 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.stp.sca.domainmodel.frascati.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage;
+import org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation;
+
+import org.eclipse.stp.sca.impl.ImplementationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Osgi Implementation</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.OsgiImplementationImpl#getBundle <em>Bundle</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.OsgiImplementationImpl#getAnyAttribute <em>Any Attribute</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.OsgiImplementationImpl#getGroup <em>Group</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class OsgiImplementationImpl extends ImplementationImpl implements OsgiImplementation {
+ /**
+ * The default value of the '{@link #getBundle() <em>Bundle</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBundle()
+ * @generated
+ * @ordered
+ */
+ protected static final String BUNDLE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getBundle() <em>Bundle</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBundle()
+ * @generated
+ * @ordered
+ */
+ protected String bundle = BUNDLE_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getAnyAttribute() <em>Any Attribute</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAnyAttribute()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap anyAttribute;
+
+ /**
+ * The cached value of the '{@link #getGroup() <em>Group</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGroup()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap group;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected OsgiImplementationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return FrascatiPackage.Literals.OSGI_IMPLEMENTATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getBundle() {
+ return bundle;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBundle(String newBundle) {
+ String oldBundle = bundle;
+ bundle = newBundle;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FrascatiPackage.OSGI_IMPLEMENTATION__BUNDLE, oldBundle, bundle));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getAnyAttribute() {
+ if (anyAttribute == null) {
+ anyAttribute = new BasicFeatureMap(this, FrascatiPackage.OSGI_IMPLEMENTATION__ANY_ATTRIBUTE);
+ }
+ return anyAttribute;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getGroup() {
+ if (group == null) {
+ group = new BasicFeatureMap(this, FrascatiPackage.OSGI_IMPLEMENTATION__GROUP);
+ }
+ return group;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case FrascatiPackage.OSGI_IMPLEMENTATION__ANY_ATTRIBUTE:
+ return ((InternalEList<?>)getAnyAttribute()).basicRemove(otherEnd, msgs);
+ case FrascatiPackage.OSGI_IMPLEMENTATION__GROUP:
+ return ((InternalEList<?>)getGroup()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case FrascatiPackage.OSGI_IMPLEMENTATION__BUNDLE:
+ return getBundle();
+ case FrascatiPackage.OSGI_IMPLEMENTATION__ANY_ATTRIBUTE:
+ if (coreType) return getAnyAttribute();
+ return ((FeatureMap.Internal)getAnyAttribute()).getWrapper();
+ case FrascatiPackage.OSGI_IMPLEMENTATION__GROUP:
+ if (coreType) return getGroup();
+ return ((FeatureMap.Internal)getGroup()).getWrapper();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case FrascatiPackage.OSGI_IMPLEMENTATION__BUNDLE:
+ setBundle((String)newValue);
+ return;
+ case FrascatiPackage.OSGI_IMPLEMENTATION__ANY_ATTRIBUTE:
+ ((FeatureMap.Internal)getAnyAttribute()).set(newValue);
+ return;
+ case FrascatiPackage.OSGI_IMPLEMENTATION__GROUP:
+ ((FeatureMap.Internal)getGroup()).set(newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case FrascatiPackage.OSGI_IMPLEMENTATION__BUNDLE:
+ setBundle(BUNDLE_EDEFAULT);
+ return;
+ case FrascatiPackage.OSGI_IMPLEMENTATION__ANY_ATTRIBUTE:
+ getAnyAttribute().clear();
+ return;
+ case FrascatiPackage.OSGI_IMPLEMENTATION__GROUP:
+ getGroup().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case FrascatiPackage.OSGI_IMPLEMENTATION__BUNDLE:
+ return BUNDLE_EDEFAULT == null ? bundle != null : !BUNDLE_EDEFAULT.equals(bundle);
+ case FrascatiPackage.OSGI_IMPLEMENTATION__ANY_ATTRIBUTE:
+ return anyAttribute != null && !anyAttribute.isEmpty();
+ case FrascatiPackage.OSGI_IMPLEMENTATION__GROUP:
+ return group != null && !group.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (bundle: ");
+ result.append(bundle);
+ result.append(", anyAttribute: ");
+ result.append(anyAttribute);
+ result.append(", group: ");
+ result.append(group);
+ result.append(')');
+ return result.toString();
+ }
+
+} //OsgiImplementationImpl
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/OsgiImplementationImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/RMIBindingImpl.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/RMIBindingImpl.java (rev 0)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/RMIBindingImpl.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -0,0 +1,370 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.stp.sca.domainmodel.frascati.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage;
+import org.eclipse.stp.sca.domainmodel.frascati.RMIBinding;
+
+import org.eclipse.stp.sca.impl.BindingImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>RMI Binding</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.RMIBindingImpl#getHost <em>Host</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.RMIBindingImpl#getServiceName <em>Service Name</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.RMIBindingImpl#getPort <em>Port</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.RMIBindingImpl#getAnyAttribute <em>Any Attribute</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.RMIBindingImpl#getGroup <em>Group</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class RMIBindingImpl extends BindingImpl implements RMIBinding {
+ /**
+ * The default value of the '{@link #getHost() <em>Host</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHost()
+ * @generated
+ * @ordered
+ */
+ protected static final String HOST_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getHost() <em>Host</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHost()
+ * @generated
+ * @ordered
+ */
+ protected String host = HOST_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getServiceName() <em>Service Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getServiceName()
+ * @generated
+ * @ordered
+ */
+ protected static final String SERVICE_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getServiceName() <em>Service Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getServiceName()
+ * @generated
+ * @ordered
+ */
+ protected String serviceName = SERVICE_NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPort() <em>Port</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPort()
+ * @generated
+ * @ordered
+ */
+ protected static final String PORT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPort() <em>Port</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPort()
+ * @generated
+ * @ordered
+ */
+ protected String port = PORT_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getAnyAttribute() <em>Any Attribute</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAnyAttribute()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap anyAttribute;
+
+ /**
+ * The cached value of the '{@link #getGroup() <em>Group</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGroup()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap group;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected RMIBindingImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return FrascatiPackage.Literals.RMI_BINDING;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getHost() {
+ return host;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHost(String newHost) {
+ String oldHost = host;
+ host = newHost;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FrascatiPackage.RMI_BINDING__HOST, oldHost, host));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getServiceName() {
+ return serviceName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setServiceName(String newServiceName) {
+ String oldServiceName = serviceName;
+ serviceName = newServiceName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FrascatiPackage.RMI_BINDING__SERVICE_NAME, oldServiceName, serviceName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getPort() {
+ return port;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPort(String newPort) {
+ String oldPort = port;
+ port = newPort;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FrascatiPackage.RMI_BINDING__PORT, oldPort, port));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getAnyAttribute() {
+ if (anyAttribute == null) {
+ anyAttribute = new BasicFeatureMap(this, FrascatiPackage.RMI_BINDING__ANY_ATTRIBUTE);
+ }
+ return anyAttribute;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getGroup() {
+ if (group == null) {
+ group = new BasicFeatureMap(this, FrascatiPackage.RMI_BINDING__GROUP);
+ }
+ return group;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case FrascatiPackage.RMI_BINDING__ANY_ATTRIBUTE:
+ return ((InternalEList<?>)getAnyAttribute()).basicRemove(otherEnd, msgs);
+ case FrascatiPackage.RMI_BINDING__GROUP:
+ return ((InternalEList<?>)getGroup()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case FrascatiPackage.RMI_BINDING__HOST:
+ return getHost();
+ case FrascatiPackage.RMI_BINDING__SERVICE_NAME:
+ return getServiceName();
+ case FrascatiPackage.RMI_BINDING__PORT:
+ return getPort();
+ case FrascatiPackage.RMI_BINDING__ANY_ATTRIBUTE:
+ if (coreType) return getAnyAttribute();
+ return ((FeatureMap.Internal)getAnyAttribute()).getWrapper();
+ case FrascatiPackage.RMI_BINDING__GROUP:
+ if (coreType) return getGroup();
+ return ((FeatureMap.Internal)getGroup()).getWrapper();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case FrascatiPackage.RMI_BINDING__HOST:
+ setHost((String)newValue);
+ return;
+ case FrascatiPackage.RMI_BINDING__SERVICE_NAME:
+ setServiceName((String)newValue);
+ return;
+ case FrascatiPackage.RMI_BINDING__PORT:
+ setPort((String)newValue);
+ return;
+ case FrascatiPackage.RMI_BINDING__ANY_ATTRIBUTE:
+ ((FeatureMap.Internal)getAnyAttribute()).set(newValue);
+ return;
+ case FrascatiPackage.RMI_BINDING__GROUP:
+ ((FeatureMap.Internal)getGroup()).set(newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case FrascatiPackage.RMI_BINDING__HOST:
+ setHost(HOST_EDEFAULT);
+ return;
+ case FrascatiPackage.RMI_BINDING__SERVICE_NAME:
+ setServiceName(SERVICE_NAME_EDEFAULT);
+ return;
+ case FrascatiPackage.RMI_BINDING__PORT:
+ setPort(PORT_EDEFAULT);
+ return;
+ case FrascatiPackage.RMI_BINDING__ANY_ATTRIBUTE:
+ getAnyAttribute().clear();
+ return;
+ case FrascatiPackage.RMI_BINDING__GROUP:
+ getGroup().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case FrascatiPackage.RMI_BINDING__HOST:
+ return HOST_EDEFAULT == null ? host != null : !HOST_EDEFAULT.equals(host);
+ case FrascatiPackage.RMI_BINDING__SERVICE_NAME:
+ return SERVICE_NAME_EDEFAULT == null ? serviceName != null : !SERVICE_NAME_EDEFAULT.equals(serviceName);
+ case FrascatiPackage.RMI_BINDING__PORT:
+ return PORT_EDEFAULT == null ? port != null : !PORT_EDEFAULT.equals(port);
+ case FrascatiPackage.RMI_BINDING__ANY_ATTRIBUTE:
+ return anyAttribute != null && !anyAttribute.isEmpty();
+ case FrascatiPackage.RMI_BINDING__GROUP:
+ return group != null && !group.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (host: ");
+ result.append(host);
+ result.append(", serviceName: ");
+ result.append(serviceName);
+ result.append(", port: ");
+ result.append(port);
+ result.append(", anyAttribute: ");
+ result.append(anyAttribute);
+ result.append(", group: ");
+ result.append(group);
+ result.append(')');
+ return result.toString();
+ }
+
+} //RMIBindingImpl
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/RMIBindingImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/RestBindingImpl.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/RestBindingImpl.java (rev 0)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/RestBindingImpl.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -0,0 +1,205 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.stp.sca.domainmodel.frascati.impl;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage;
+import org.eclipse.stp.sca.domainmodel.frascati.RestBinding;
+
+import org.eclipse.stp.sca.impl.BindingImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Rest Binding</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.RestBindingImpl#getAnyAttribute <em>Any Attribute</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.RestBindingImpl#getGroup <em>Group</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class RestBindingImpl extends BindingImpl implements RestBinding {
+ /**
+ * The cached value of the '{@link #getAnyAttribute() <em>Any Attribute</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAnyAttribute()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap anyAttribute;
+
+ /**
+ * The cached value of the '{@link #getGroup() <em>Group</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGroup()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap group;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected RestBindingImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return FrascatiPackage.Literals.REST_BINDING;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getAnyAttribute() {
+ if (anyAttribute == null) {
+ anyAttribute = new BasicFeatureMap(this, FrascatiPackage.REST_BINDING__ANY_ATTRIBUTE);
+ }
+ return anyAttribute;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getGroup() {
+ if (group == null) {
+ group = new BasicFeatureMap(this, FrascatiPackage.REST_BINDING__GROUP);
+ }
+ return group;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case FrascatiPackage.REST_BINDING__ANY_ATTRIBUTE:
+ return ((InternalEList<?>)getAnyAttribute()).basicRemove(otherEnd, msgs);
+ case FrascatiPackage.REST_BINDING__GROUP:
+ return ((InternalEList<?>)getGroup()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case FrascatiPackage.REST_BINDING__ANY_ATTRIBUTE:
+ if (coreType) return getAnyAttribute();
+ return ((FeatureMap.Internal)getAnyAttribute()).getWrapper();
+ case FrascatiPackage.REST_BINDING__GROUP:
+ if (coreType) return getGroup();
+ return ((FeatureMap.Internal)getGroup()).getWrapper();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case FrascatiPackage.REST_BINDING__ANY_ATTRIBUTE:
+ ((FeatureMap.Internal)getAnyAttribute()).set(newValue);
+ return;
+ case FrascatiPackage.REST_BINDING__GROUP:
+ ((FeatureMap.Internal)getGroup()).set(newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case FrascatiPackage.REST_BINDING__ANY_ATTRIBUTE:
+ getAnyAttribute().clear();
+ return;
+ case FrascatiPackage.REST_BINDING__GROUP:
+ getGroup().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case FrascatiPackage.REST_BINDING__ANY_ATTRIBUTE:
+ return anyAttribute != null && !anyAttribute.isEmpty();
+ case FrascatiPackage.REST_BINDING__GROUP:
+ return group != null && !group.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (anyAttribute: ");
+ result.append(anyAttribute);
+ result.append(", group: ");
+ result.append(group);
+ result.append(')');
+ return result.toString();
+ }
+
+} //RestBindingImpl
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/RestBindingImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/ScriptImplementationImpl.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/ScriptImplementationImpl.java (rev 0)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/ScriptImplementationImpl.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -0,0 +1,316 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.stp.sca.domainmodel.frascati.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage;
+import org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation;
+
+import org.eclipse.stp.sca.impl.ImplementationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Script Implementation</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.ScriptImplementationImpl#getScript <em>Script</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.ScriptImplementationImpl#getLanguage <em>Language</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.ScriptImplementationImpl#getAnyAttribute <em>Any Attribute</em>}</li>
+ * <li>{@link org.eclipse.stp.sca.domainmodel.frascati.impl.ScriptImplementationImpl#getGroup <em>Group</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ScriptImplementationImpl extends ImplementationImpl implements ScriptImplementation {
+ /**
+ * The default value of the '{@link #getScript() <em>Script</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScript()
+ * @generated
+ * @ordered
+ */
+ protected static final String SCRIPT_EDEFAULT = "";
+
+ /**
+ * The cached value of the '{@link #getScript() <em>Script</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScript()
+ * @generated
+ * @ordered
+ */
+ protected String script = SCRIPT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getLanguage() <em>Language</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLanguage()
+ * @generated
+ * @ordered
+ */
+ protected static final String LANGUAGE_EDEFAULT = "";
+
+ /**
+ * The cached value of the '{@link #getLanguage() <em>Language</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLanguage()
+ * @generated
+ * @ordered
+ */
+ protected String language = LANGUAGE_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getAnyAttribute() <em>Any Attribute</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAnyAttribute()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap anyAttribute;
+
+ /**
+ * The cached value of the '{@link #getGroup() <em>Group</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGroup()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap group;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ScriptImplementationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return FrascatiPackage.Literals.SCRIPT_IMPLEMENTATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getScript() {
+ return script;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setScript(String newScript) {
+ String oldScript = script;
+ script = newScript;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FrascatiPackage.SCRIPT_IMPLEMENTATION__SCRIPT, oldScript, script));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLanguage() {
+ return language;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLanguage(String newLanguage) {
+ String oldLanguage = language;
+ language = newLanguage;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FrascatiPackage.SCRIPT_IMPLEMENTATION__LANGUAGE, oldLanguage, language));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getAnyAttribute() {
+ if (anyAttribute == null) {
+ anyAttribute = new BasicFeatureMap(this, FrascatiPackage.SCRIPT_IMPLEMENTATION__ANY_ATTRIBUTE);
+ }
+ return anyAttribute;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getGroup() {
+ if (group == null) {
+ group = new BasicFeatureMap(this, FrascatiPackage.SCRIPT_IMPLEMENTATION__GROUP);
+ }
+ return group;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__ANY_ATTRIBUTE:
+ return ((InternalEList<?>)getAnyAttribute()).basicRemove(otherEnd, msgs);
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__GROUP:
+ return ((InternalEList<?>)getGroup()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__SCRIPT:
+ return getScript();
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__LANGUAGE:
+ return getLanguage();
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__ANY_ATTRIBUTE:
+ if (coreType) return getAnyAttribute();
+ return ((FeatureMap.Internal)getAnyAttribute()).getWrapper();
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__GROUP:
+ if (coreType) return getGroup();
+ return ((FeatureMap.Internal)getGroup()).getWrapper();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__SCRIPT:
+ setScript((String)newValue);
+ return;
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__LANGUAGE:
+ setLanguage((String)newValue);
+ return;
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__ANY_ATTRIBUTE:
+ ((FeatureMap.Internal)getAnyAttribute()).set(newValue);
+ return;
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__GROUP:
+ ((FeatureMap.Internal)getGroup()).set(newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__SCRIPT:
+ setScript(SCRIPT_EDEFAULT);
+ return;
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__LANGUAGE:
+ setLanguage(LANGUAGE_EDEFAULT);
+ return;
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__ANY_ATTRIBUTE:
+ getAnyAttribute().clear();
+ return;
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__GROUP:
+ getGroup().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__SCRIPT:
+ return SCRIPT_EDEFAULT == null ? script != null : !SCRIPT_EDEFAULT.equals(script);
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__LANGUAGE:
+ return LANGUAGE_EDEFAULT == null ? language != null : !LANGUAGE_EDEFAULT.equals(language);
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__ANY_ATTRIBUTE:
+ return anyAttribute != null && !anyAttribute.isEmpty();
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__GROUP:
+ return group != null && !group.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (script: ");
+ result.append(script);
+ result.append(", language: ");
+ result.append(language);
+ result.append(", anyAttribute: ");
+ result.append(anyAttribute);
+ result.append(", group: ");
+ result.append(group);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ScriptImplementationImpl
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/impl/ScriptImplementationImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiAdapterFactory.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiAdapterFactory.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiAdapterFactory.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -27,22 +27,21 @@
* <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides
* an adapter <code>createXXX</code> method for each class of the model. <!--
* end-user-doc -->
- *
* @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage
* @generated
*/
public class FrascatiAdapterFactory extends AdapterFactoryImpl {
/**
- * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached model package.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected static FrascatiPackage modelPackage;
/**
- * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!--
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public FrascatiAdapterFactory() {
@@ -56,7 +55,6 @@
* <!-- begin-user-doc --> This implementation returns <code>true</code> if
* the object is either the model's package or is an instance object of the
* model. <!-- end-user-doc -->
- *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@@ -66,7 +64,7 @@
return true;
}
if (object instanceof EObject) {
- return ((EObject) object).eClass().getEPackage() == modelPackage;
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
}
return false;
}
@@ -78,65 +76,75 @@
* @generated
*/
protected FrascatiSwitch<Adapter> modelSwitch = new FrascatiSwitch<Adapter>() {
- @Override
- public Adapter caseJBIBinding(JBIBinding object) {
- return createJBIBindingAdapter();
- }
+ @Override
+ public Adapter caseJBIBinding(JBIBinding object) {
+ return createJBIBindingAdapter();
+ }
+ @Override
+ public Adapter caseFractalImplementation(FractalImplementation object) {
+ return createFractalImplementationAdapter();
+ }
+ @Override
+ public Adapter caseDocumentRoot(DocumentRoot object) {
+ return createDocumentRootAdapter();
+ }
+ @Override
+ public Adapter caseOsgiImplementation(OsgiImplementation object) {
+ return createOsgiImplementationAdapter();
+ }
+ @Override
+ public Adapter caseScriptImplementation(ScriptImplementation object) {
+ return createScriptImplementationAdapter();
+ }
+ @Override
+ public Adapter caseRestBinding(RestBinding object) {
+ return createRestBindingAdapter();
+ }
+ @Override
+ public Adapter caseRMIBinding(RMIBinding object) {
+ return createRMIBindingAdapter();
+ }
+ @Override
+ public Adapter caseJsonRpcBinding(JsonRpcBinding object) {
+ return createJsonRpcBindingAdapter();
+ }
+ @Override
+ public Adapter caseBinding(Binding object) {
+ return createBindingAdapter();
+ }
+ @Override
+ public Adapter caseImplementation(Implementation object) {
+ return createImplementationAdapter();
+ }
+ @Override
+ public Adapter caseSca_DocumentRoot(org.eclipse.stp.sca.DocumentRoot object) {
+ return createSca_DocumentRootAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
- @Override
- public Adapter caseFractalImplementation(FractalImplementation object) {
- return createFractalImplementationAdapter();
- }
-
- @Override
- public Adapter caseDocumentRoot(DocumentRoot object) {
- return createDocumentRootAdapter();
- }
-
- @Override
- public Adapter caseBinding(Binding object) {
- return createBindingAdapter();
- }
-
- @Override
- public Adapter caseImplementation(Implementation object) {
- return createImplementationAdapter();
- }
-
- @Override
- public Adapter caseDocumentRoot_1(
- org.eclipse.stp.sca.DocumentRoot object) {
- return createDocumentRoot_1Adapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
/**
- * Creates an adapter for the <code>target</code>. <!-- begin-user-doc -->
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param target
- * the object to adapt.
+ * @param target the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject) target);
+ return modelSwitch.doSwitch((EObject)target);
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding
- * <em>JBI Binding</em>}'. <!-- begin-user-doc --> This default
+ * Creates a new adapter for an object of class '{@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding <em>JBI Binding</em>}'.
+ * <!-- begin-user-doc --> This default
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
* @return the new adapter.
* @see org.eclipse.stp.sca.domainmodel.frascati.JBIBinding
* @generated
@@ -146,13 +154,11 @@
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation
- * <em>Fractal Implementation</em>}'. <!-- begin-user-doc --> This default
+ * Creates a new adapter for an object of class '{@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation <em>Fractal Implementation</em>}'.
+ * <!-- begin-user-doc --> This default
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
* @return the new adapter.
* @see org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation
* @generated
@@ -162,13 +168,11 @@
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot
- * <em>Document Root</em>}'. <!-- begin-user-doc --> This default
+ * Creates a new adapter for an object of class '{@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot <em>Document Root</em>}'.
+ * <!-- begin-user-doc --> This default
* implementation returns null so that we can easily ignore cases; it's
* useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
* @return the new adapter.
* @see org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot
* @generated
@@ -178,6 +182,76 @@
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation <em>Osgi Implementation</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation
+ * @generated
+ */
+ public Adapter createOsgiImplementationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation <em>Script Implementation</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation
+ * @generated
+ */
+ public Adapter createScriptImplementationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.stp.sca.domainmodel.frascati.RestBinding <em>Rest Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.RestBinding
+ * @generated
+ */
+ public Adapter createRestBindingAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.stp.sca.domainmodel.frascati.RMIBinding <em>RMI Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.RMIBinding
+ * @generated
+ */
+ public Adapter createRMIBindingAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.stp.sca.domainmodel.frascati.JsonRpcBinding <em>Json Rpc Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.stp.sca.domainmodel.frascati.JsonRpcBinding
+ * @generated
+ */
+ public Adapter createJsonRpcBindingAdapter() {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '
* {@link org.eclipse.stp.sca.Binding <em>Binding</em>}'. <!--
* begin-user-doc --> This default implementation returns null so that we
@@ -208,24 +282,23 @@
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.stp.sca.DocumentRoot <em>Document Root</em>}'. <!--
- * begin-user-doc --> This default implementation returns null so that we
- * can easily ignore cases; it's useful to ignore a case when inheritance
- * will catch all the cases anyway. <!-- end-user-doc -->
- *
+ * Creates a new adapter for an object of class '{@link org.eclipse.stp.sca.DocumentRoot <em>Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.stp.sca.DocumentRoot
* @generated
*/
- public Adapter createDocumentRoot_1Adapter() {
+ public Adapter createSca_DocumentRootAdapter() {
return null;
}
/**
- * Creates a new adapter for the default case. <!-- begin-user-doc --> This
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc --> This
* default implementation returns null. <!-- end-user-doc -->
- *
* @return the new adapter.
* @generated
*/
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiResourceFactoryImpl.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiResourceFactoryImpl.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiResourceFactoryImpl.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -22,15 +22,14 @@
/**
* <!-- begin-user-doc --> The <b>Resource Factory</b> associated with the
* package. <!-- end-user-doc -->
- *
* @see org.eclipse.stp.sca.domainmodel.frascati.util.FrascatiResourceImpl
* @generated
*/
public class FrascatiResourceFactoryImpl extends ResourceFactoryImpl {
/**
- * Creates an instance of the resource factory. <!-- begin-user-doc --> <!--
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public FrascatiResourceFactoryImpl() {
@@ -38,29 +37,23 @@
}
/**
- * Creates an instance of the resource. <!-- begin-user-doc --> <!--
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
@Override
public Resource createResource(URI uri) {
XMLResource result = new FrascatiResourceImpl(uri);
- result.getDefaultSaveOptions().put(
- XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
- result.getDefaultLoadOptions().put(
- XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION,
- Boolean.TRUE);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
- result.getDefaultLoadOptions().put(
- XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
- result.getDefaultSaveOptions().put(
- XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
- result.getDefaultLoadOptions().put(
- XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
return result;
}
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiResourceImpl.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiResourceImpl.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiResourceImpl.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -18,17 +18,15 @@
/**
* <!-- begin-user-doc --> The <b>Resource </b> associated with the package.
* <!-- end-user-doc -->
- *
* @see org.eclipse.stp.sca.domainmodel.frascati.util.FrascatiResourceFactoryImpl
* @generated
*/
public class FrascatiResourceImpl extends XMLResourceImpl {
/**
- * Creates an instance of the resource. <!-- begin-user-doc --> <!--
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param uri
- * the URI of the new resource.
+ * @param uri the URI of the new resource.
* @generated
*/
public FrascatiResourceImpl(URI uri) {
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiSwitch.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiSwitch.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiSwitch.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -28,22 +28,21 @@
* starting with the actual class of the object and proceeding up the
* inheritance hierarchy until a non-null result is returned, which is the
* result of the switch. <!-- end-user-doc -->
- *
* @see org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage
* @generated
*/
public class FrascatiSwitch<T> {
/**
- * The cached model package <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached model package
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected static FrascatiPackage modelPackage;
/**
- * Creates an instance of the switch. <!-- begin-user-doc --> <!--
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public FrascatiSwitch() {
@@ -53,12 +52,10 @@
}
/**
- * Calls <code>caseXXX</code> for each class of the model until one returns
- * a non null result; it yields that result. <!-- begin-user-doc --> <!--
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code>
- * call.
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
public T doSwitch(EObject theEObject) {
@@ -66,77 +63,101 @@
}
/**
- * Calls <code>caseXXX</code> for each class of the model until one returns
- * a non null result; it yields that result. <!-- begin-user-doc --> <!--
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code>
- * call.
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
protected T doSwitch(EClass theEClass, EObject theEObject) {
if (theEClass.eContainer() == modelPackage) {
return doSwitch(theEClass.getClassifierID(), theEObject);
- } else {
+ }
+ else {
List<EClass> eSuperTypes = theEClass.getESuperTypes();
- return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(
- eSuperTypes.get(0), theEObject);
+ return
+ eSuperTypes.isEmpty() ?
+ defaultCase(theEObject) :
+ doSwitch(eSuperTypes.get(0), theEObject);
}
}
/**
- * Calls <code>caseXXX</code> for each class of the model until one returns
- * a non null result; it yields that result. <!-- begin-user-doc --> <!--
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code>
- * call.
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
- case FrascatiPackage.JBI_BINDING: {
- JBIBinding jbiBinding = (JBIBinding) theEObject;
- T result = caseJBIBinding(jbiBinding);
- if (result == null)
- result = caseBinding(jbiBinding);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
+ case FrascatiPackage.JBI_BINDING: {
+ JBIBinding jbiBinding = (JBIBinding)theEObject;
+ T result = caseJBIBinding(jbiBinding);
+ if (result == null) result = caseBinding(jbiBinding);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION: {
+ FractalImplementation fractalImplementation = (FractalImplementation)theEObject;
+ T result = caseFractalImplementation(fractalImplementation);
+ if (result == null) result = caseImplementation(fractalImplementation);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case FrascatiPackage.DOCUMENT_ROOT: {
+ DocumentRoot documentRoot = (DocumentRoot)theEObject;
+ T result = caseDocumentRoot(documentRoot);
+ if (result == null) result = caseSca_DocumentRoot(documentRoot);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case FrascatiPackage.OSGI_IMPLEMENTATION: {
+ OsgiImplementation osgiImplementation = (OsgiImplementation)theEObject;
+ T result = caseOsgiImplementation(osgiImplementation);
+ if (result == null) result = caseImplementation(osgiImplementation);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION: {
+ ScriptImplementation scriptImplementation = (ScriptImplementation)theEObject;
+ T result = caseScriptImplementation(scriptImplementation);
+ if (result == null) result = caseImplementation(scriptImplementation);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case FrascatiPackage.REST_BINDING: {
+ RestBinding restBinding = (RestBinding)theEObject;
+ T result = caseRestBinding(restBinding);
+ if (result == null) result = caseBinding(restBinding);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case FrascatiPackage.RMI_BINDING: {
+ RMIBinding rmiBinding = (RMIBinding)theEObject;
+ T result = caseRMIBinding(rmiBinding);
+ if (result == null) result = caseBinding(rmiBinding);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case FrascatiPackage.JSON_RPC_BINDING: {
+ JsonRpcBinding jsonRpcBinding = (JsonRpcBinding)theEObject;
+ T result = caseJsonRpcBinding(jsonRpcBinding);
+ if (result == null) result = caseBinding(jsonRpcBinding);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
}
- case FrascatiPackage.FRACTAL_IMPLEMENTATION: {
- FractalImplementation fractalImplementation = (FractalImplementation) theEObject;
- T result = caseFractalImplementation(fractalImplementation);
- if (result == null)
- result = caseImplementation(fractalImplementation);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case FrascatiPackage.DOCUMENT_ROOT: {
- DocumentRoot documentRoot = (DocumentRoot) theEObject;
- T result = caseDocumentRoot(documentRoot);
- if (result == null)
- result = caseDocumentRoot_1(documentRoot);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- default:
- return defaultCase(theEObject);
- }
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>JBI Binding</em>'. <!-- begin-user-doc --> This implementation
+ * Returns the result of interpreting the object as an instance of '<em>JBI Binding</em>'.
+ * <!-- begin-user-doc --> This implementation
* returns null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '
- * <em>JBI Binding</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>JBI Binding</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -145,15 +166,12 @@
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Fractal Implementation</em>'. <!-- begin-user-doc --> This
+ * Returns the result of interpreting the object as an instance of '<em>Fractal Implementation</em>'.
+ * <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate
* the switch. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '
- * <em>Fractal Implementation</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Fractal Implementation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -162,15 +180,12 @@
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Document Root</em>'. <!-- begin-user-doc --> This implementation
+ * Returns the result of interpreting the object as an instance of '<em>Document Root</em>'.
+ * <!-- begin-user-doc --> This implementation
* returns null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '
- * <em>Document Root</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Document Root</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -179,15 +194,87 @@
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Binding</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Osgi Implementation</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Osgi Implementation</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseOsgiImplementation(OsgiImplementation object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Script Implementation</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Script Implementation</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseScriptImplementation(ScriptImplementation object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Rest Binding</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Rest Binding</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRestBinding(RestBinding object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>RMI Binding</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>RMI Binding</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRMIBinding(RMIBinding object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Json Rpc Binding</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Json Rpc Binding</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseJsonRpcBinding(JsonRpcBinding object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Binding</em>'.
+ * <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '
- * <em>Binding</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Binding</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -196,15 +283,12 @@
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Implementation</em>'. <!-- begin-user-doc --> This implementation
+ * Returns the result of interpreting the object as an instance of '<em>Implementation</em>'.
+ * <!-- begin-user-doc --> This implementation
* returns null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '
- * <em>Implementation</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Implementation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -213,32 +297,27 @@
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Document Root</em>'. <!-- begin-user-doc --> This implementation
- * returns null; returning a non-null result will terminate the switch. <!--
- * end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '
- * <em>Document Root</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Document Root</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseDocumentRoot_1(org.eclipse.stp.sca.DocumentRoot object) {
+ public T caseSca_DocumentRoot(org.eclipse.stp.sca.DocumentRoot object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>EObject</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch, but this is
* the last case anyway. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '
- * <em>EObject</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
*/
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiXMLProcessor.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiXMLProcessor.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati/src/org/eclipse/stp/sca/domainmodel/frascati/util/FrascatiXMLProcessor.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -24,15 +24,14 @@
/**
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public class FrascatiXMLProcessor extends XMLProcessor {
/**
- * Public constructor to instantiate the helper. <!-- begin-user-doc -->
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public FrascatiXMLProcessor() {
@@ -41,10 +40,9 @@
}
/**
- * Register for "*" and "xml" file extensions the
- * FrascatiResourceFactoryImpl factory. <!-- begin-user-doc --> <!--
+ * Register for "*" and "xml" file extensions the FrascatiResourceFactoryImpl factory.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
@Override
@@ -52,8 +50,7 @@
if (registrations == null) {
super.getRegistrations();
registrations.put(XML_EXTENSION, new FrascatiResourceFactoryImpl());
- registrations
- .put(STAR_EXTENSION, new FrascatiResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new FrascatiResourceFactoryImpl());
}
return registrations;
}
Deleted: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/ctool16/CreateBaseReference_bindingGroup_JBIBinding.gif
===================================================================
(Binary files differ)
Deleted: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/ctool16/CreateBaseService_bindingGroup_JBIBinding.gif
===================================================================
(Binary files differ)
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/JsonRpcBinding.gif
===================================================================
(Binary files differ)
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/JsonRpcBinding.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/OsgiImplementation.gif
===================================================================
(Binary files differ)
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/OsgiImplementation.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/RMIBinding.gif
===================================================================
(Binary files differ)
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/RMIBinding.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/RestBinding.gif
===================================================================
(Binary files differ)
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/RestBinding.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/ScriptImplementation.gif
===================================================================
(Binary files differ)
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/icons/full/obj16/ScriptImplementation.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/plugin.properties
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/plugin.properties 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/plugin.properties 2009-09-14 14:29:44 UTC (rev 3312)
@@ -42,3 +42,29 @@
_UI_JBIBinding_operationNamespace_feature = Operation Namespace
_UI_JBIBinding_timeout_feature = Timeout
_UI_JBIBinding_wsdl_feature = Wsdl
+_UI_OsgiImplementation_type = Osgi Implementation
+_UI_ScriptImplementation_type = Script Implementation
+_UI_RestBinding_type = Rest Binding
+_UI_RMIBinding_type = RMI Binding
+_UI_JsonRpcBinding_type = Json Rpc Binding
+_UI_DocumentRoot_implementationOsgi_feature = Implementation Osgi
+_UI_DocumentRoot_implementationScript_feature = Implementation Script
+_UI_DocumentRoot_bindingRest_feature = Binding Rest
+_UI_DocumentRoot_bindingRmi_feature = Binding Rmi
+_UI_DocumentRoot_bindingJsonRpc_feature = Binding Json Rpc
+_UI_OsgiImplementation_bundle_feature = Bundle
+_UI_OsgiImplementation_anyAttribute_feature = Any Attribute
+_UI_OsgiImplementation_group_feature = Group
+_UI_ScriptImplementation_script_feature = Script
+_UI_ScriptImplementation_language_feature = Language
+_UI_ScriptImplementation_anyAttribute_feature = Any Attribute
+_UI_ScriptImplementation_group_feature = Group
+_UI_RestBinding_anyAttribute_feature = Any Attribute
+_UI_RestBinding_group_feature = Group
+_UI_RMIBinding_host_feature = Host
+_UI_RMIBinding_serviceName_feature = Service Name
+_UI_RMIBinding_port_feature = Port
+_UI_RMIBinding_anyAttribute_feature = Any Attribute
+_UI_RMIBinding_group_feature = Group
+_UI_JsonRpcBinding_anyAttribute_feature = Any Attribute
+_UI_JsonRpcBinding_group_feature = Group
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/DocumentRootItemProvider.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/DocumentRootItemProvider.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/DocumentRootItemProvider.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -66,13 +66,10 @@
}
/**
- * This specifies how to implement {@link #getChildren} and is used to
- * deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand},
- * {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in
- * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
@@ -80,23 +77,24 @@
Object object) {
if (childrenFeatures == null) {
super.getChildrenFeatures(object);
- childrenFeatures
- .add(FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL);
- childrenFeatures
- .add(FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI);
+ childrenFeatures.add(FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL);
+ childrenFeatures.add(FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI);
+ childrenFeatures.add(FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI);
+ childrenFeatures.add(FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT);
+ childrenFeatures.add(FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST);
+ childrenFeatures.add(FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI);
+ childrenFeatures.add(FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC);
}
return childrenFeatures;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper
- // feature to use for
+ // Check the type of the specified child object and return the proper feature to use for
// adding (see {@link AddCommand}) it as a child.
return super.getChildFeature(object, child);
@@ -110,28 +108,26 @@
*/
@Override
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage(
- "full/obj16/DocumentRoot")); //$NON-NLS-1$
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/DocumentRoot"));
}
/**
- * This returns the label text for the adapted class. <!-- begin-user-doc
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String getText(Object object) {
- DocumentRoot documentRoot = (DocumentRoot) object;
- return getString("_UI_DocumentRoot_type") + " " + documentRoot.isEndsConversation(); //$NON-NLS-1$ //$NON-NLS-2$
+ DocumentRoot documentRoot = (DocumentRoot)object;
+ return getString("_UI_DocumentRoot_type") + " " + documentRoot.isEndsConversation();
}
/**
- * This handles model notifications by calling {@link #updateChildren} to
- * update any cached children and by creating a viewer notification, which
- * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!--
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
@Override
@@ -139,11 +135,15 @@
updateChildren(notification);
switch (notification.getFeatureID(DocumentRoot.class)) {
- case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL:
- case FrascatiPackage.DOCUMENT_ROOT__BINDING_JBI:
- fireNotifyChanged(new ViewerNotification(notification, notification
- .getNotifier(), true, false));
- return;
+ case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL:
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_JBI:
+ case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_OSGI:
+ case FrascatiPackage.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT:
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_REST:
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_RMI:
+ case FrascatiPackage.DOCUMENT_ROOT__BINDING_JSON_RPC:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
@@ -160,13 +160,40 @@
Collection<Object> newChildDescriptors, Object object) {
super.collectNewChildDescriptors(newChildDescriptors, object);
- newChildDescriptors.add(createChildParameter(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE.createFractalImplementation()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation()));
- newChildDescriptors.add(createChildParameter(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE.createJBIBinding()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding()));
}
/**
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/FractalImplementationItemProvider.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/FractalImplementationItemProvider.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/FractalImplementationItemProvider.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -32,10 +32,8 @@
import org.eclipse.stp.sca.provider.ImplementationItemProvider;
/**
- * This is the item provider adapter for a
- * {@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation}
- * object. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This is the item provider adapter for a {@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public class FractalImplementationItemProvider extends
@@ -75,27 +73,26 @@
* @generated
*/
protected void addDefinitionPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory)
- .getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_FractalImplementation_definition_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", //$NON-NLS-1$
- "_UI_FractalImplementation_definition_feature", //$NON-NLS-1$
- "_UI_FractalImplementation_type"), //$NON-NLS-1$
- FrascatiPackage.Literals.FRACTAL_IMPLEMENTATION__DEFINITION,
- true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null, null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_FractalImplementation_definition_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_FractalImplementation_definition_feature", "_UI_FractalImplementation_type"),
+ FrascatiPackage.Literals.FRACTAL_IMPLEMENTATION__DEFINITION,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
- * This specifies how to implement {@link #getChildren} and is used to
- * deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand},
- * {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in
- * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
@@ -103,60 +100,55 @@
Object object) {
if (childrenFeatures == null) {
super.getChildrenFeatures(object);
- childrenFeatures
- .add(FrascatiPackage.Literals.FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE);
- childrenFeatures
- .add(FrascatiPackage.Literals.FRACTAL_IMPLEMENTATION__GROUP);
+ childrenFeatures.add(FrascatiPackage.Literals.FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE);
+ childrenFeatures.add(FrascatiPackage.Literals.FRACTAL_IMPLEMENTATION__GROUP);
}
return childrenFeatures;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper
- // feature to use for
+ // Check the type of the specified child object and return the proper feature to use for
// adding (see {@link AddCommand}) it as a child.
return super.getChildFeature(object, child);
}
/**
- * This returns FractalImplementation.gif. <!-- begin-user-doc --> <!--
+ * This returns FractalImplementation.gif.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
@Override
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage(
- "full/obj16/FractalImplementation")); //$NON-NLS-1$
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/FractalImplementation"));
}
/**
- * This returns the label text for the adapted class. <!-- begin-user-doc
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String getText(Object object) {
- List labelValue = ((FractalImplementation) object).getPolicySets();
+ List labelValue = ((FractalImplementation)object).getPolicySets();
String label = labelValue == null ? null : labelValue.toString();
- return label == null || label.length() == 0 ? getString("_UI_FractalImplementation_type") //$NON-NLS-1$
- : getString("_UI_FractalImplementation_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
+ return label == null || label.length() == 0 ?
+ getString("_UI_FractalImplementation_type") :
+ getString("_UI_FractalImplementation_type") + " " + label;
}
/**
- * This handles model notifications by calling {@link #updateChildren} to
- * update any cached children and by creating a viewer notification, which
- * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!--
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
@Override
@@ -164,15 +156,13 @@
updateChildren(notification);
switch (notification.getFeatureID(FractalImplementation.class)) {
- case FrascatiPackage.FRACTAL_IMPLEMENTATION__DEFINITION:
- fireNotifyChanged(new ViewerNotification(notification, notification
- .getNotifier(), false, true));
- return;
- case FrascatiPackage.FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE:
- case FrascatiPackage.FRACTAL_IMPLEMENTATION__GROUP:
- fireNotifyChanged(new ViewerNotification(notification, notification
- .getNotifier(), true, false));
- return;
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION__DEFINITION:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION__ANY_ATTRIBUTE:
+ case FrascatiPackage.FRACTAL_IMPLEMENTATION__GROUP:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/FrascatiEditPlugin.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/FrascatiEditPlugin.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/FrascatiEditPlugin.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -39,18 +39,21 @@
private static Implementation plugin;
/**
- * Create the instance. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Create the instance.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public FrascatiEditPlugin() {
- super(new ResourceLocator[] { ScaEditPlugin.INSTANCE, });
+ super
+ (new ResourceLocator [] {
+ ScaEditPlugin.INSTANCE,
+ });
}
/**
- * Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @return the singleton instance.
* @generated
*/
@@ -60,9 +63,9 @@
}
/**
- * Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @return the singleton instance.
* @generated
*/
@@ -78,8 +81,8 @@
*/
public static class Implementation extends EclipsePlugin {
/**
- * Creates an instance. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Creates an instance.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public Implementation() {
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/FrascatiItemProviderAdapterFactory.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/FrascatiItemProviderAdapterFactory.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/FrascatiItemProviderAdapterFactory.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -80,21 +80,19 @@
import org.eclipse.stp.sca.util.ScaSwitch;
/**
- * This is the factory that is used to provide the interfaces needed to support
- * Viewers. The adapters generated by this factory convert EMF adapter
- * notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. The
- * adapters also support Eclipse property sheets. Note that most of the adapters
- * are shared among multiple instances. <!-- begin-user-doc --> <!--
+ * This is the factory that is used to provide the interfaces needed to support Viewers.
+ * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}.
+ * The adapters also support Eclipse property sheets.
+ * Note that most of the adapters are shared among multiple instances.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public class FrascatiItemProviderAdapterFactory extends FrascatiAdapterFactory
implements ComposeableAdapterFactory, IChangeNotifier, IDisposable {
/**
- * This keeps track of the root adapter factory that delegates to this
- * adapter factory. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This keeps track of the root adapter factory that delegates to this adapter factory.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected ComposedAdapterFactory parentAdapterFactory;
@@ -109,10 +107,9 @@
protected IChangeNotifier changeNotifier = new ChangeNotifier();
/**
- * This keeps track of all the supported types checked by
- * {@link #isFactoryForType isFactoryForType}. <!-- begin-user-doc --> <!--
+ * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
protected Collection<Object> supportedTypes = new ArrayList<Object>();
@@ -132,10 +129,8 @@
}
/**
- * This keeps track of the one adapter used for all
- * {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding} instances.
+ * This keeps track of the one adapter used for all {@link org.eclipse.stp.sca.domainmodel.frascati.JBIBinding} instances.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected JBIBindingItemProvider jbiBindingItemProvider;
@@ -157,36 +152,29 @@
}
/**
- * This keeps track of the one adapter used for all
- * {@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation}
- * instances. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This keeps track of the one adapter used for all {@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation} instances.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected FractalImplementationItemProvider fractalImplementationItemProvider;
/**
- * This creates an adapter for a
- * {@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation}.
+ * This creates an adapter for a {@link org.eclipse.stp.sca.domainmodel.frascati.FractalImplementation}.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Adapter createFractalImplementationAdapter() {
if (fractalImplementationItemProvider == null) {
- fractalImplementationItemProvider = new FractalImplementationItemProvider(
- this);
+ fractalImplementationItemProvider = new FractalImplementationItemProvider(this);
}
return fractalImplementationItemProvider;
}
/**
- * This keeps track of the one adapter used for all
- * {@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot} instances.
+ * This keeps track of the one adapter used for all {@link org.eclipse.stp.sca.domainmodel.frascati.DocumentRoot} instances.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected DocumentRootItemProvider documentRootItemProvider;
@@ -208,14 +196,128 @@
}
/**
+ * This keeps track of the one adapter used for all {@link org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected OsgiImplementationItemProvider osgiImplementationItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createOsgiImplementationAdapter() {
+ if (osgiImplementationItemProvider == null) {
+ osgiImplementationItemProvider = new OsgiImplementationItemProvider(this);
+ }
+
+ return osgiImplementationItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ScriptImplementationItemProvider scriptImplementationItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createScriptImplementationAdapter() {
+ if (scriptImplementationItemProvider == null) {
+ scriptImplementationItemProvider = new ScriptImplementationItemProvider(this);
+ }
+
+ return scriptImplementationItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.stp.sca.domainmodel.frascati.RestBinding} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected RestBindingItemProvider restBindingItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.stp.sca.domainmodel.frascati.RestBinding}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createRestBindingAdapter() {
+ if (restBindingItemProvider == null) {
+ restBindingItemProvider = new RestBindingItemProvider(this);
+ }
+
+ return restBindingItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.stp.sca.domainmodel.frascati.RMIBinding} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected RMIBindingItemProvider rmiBindingItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.stp.sca.domainmodel.frascati.RMIBinding}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createRMIBindingAdapter() {
+ if (rmiBindingItemProvider == null) {
+ rmiBindingItemProvider = new RMIBindingItemProvider(this);
+ }
+
+ return rmiBindingItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.stp.sca.domainmodel.frascati.JsonRpcBinding} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected JsonRpcBindingItemProvider jsonRpcBindingItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.stp.sca.domainmodel.frascati.JsonRpcBinding}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createJsonRpcBindingAdapter() {
+ if (jsonRpcBindingItemProvider == null) {
+ jsonRpcBindingItemProvider = new JsonRpcBindingItemProvider(this);
+ }
+
+ return jsonRpcBindingItemProvider;
+ }
+
+ /**
* This returns the root adapter factory that contains this factory. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
public ComposeableAdapterFactory getRootAdapterFactory() {
- return parentAdapterFactory == null ? this : parentAdapterFactory
- .getRootAdapterFactory();
+ return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
}
/**
@@ -231,7 +333,6 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -240,9 +341,8 @@
}
/**
- * This implementation substitutes the factory itself as the key for the
- * adapter. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This implementation substitutes the factory itself as the key for the adapter.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
@@ -252,15 +352,13 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object adapt(Object object, Object type) {
if (isFactoryForType(type)) {
Object adapter = super.adapt(object, type);
- if (!(type instanceof Class)
- || (((Class<?>) type).isInstance(adapter))) {
+ if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) {
return adapter;
}
}
@@ -269,8 +367,8 @@
}
/**
- * This adds a listener. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This adds a listener.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public void addListener(INotifyChangedListener notifyChangedListener) {
@@ -278,8 +376,8 @@
}
/**
- * This removes a listener. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This removes a listener.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public void removeListener(INotifyChangedListener notifyChangedListener) {
@@ -308,49 +406,49 @@
* @generated
*/
public void dispose() {
- if (jbiBindingItemProvider != null)
- jbiBindingItemProvider.dispose();
- if (fractalImplementationItemProvider != null)
- fractalImplementationItemProvider.dispose();
- if (documentRootItemProvider != null)
- documentRootItemProvider.dispose();
+ if (jbiBindingItemProvider != null) jbiBindingItemProvider.dispose();
+ if (fractalImplementationItemProvider != null) fractalImplementationItemProvider.dispose();
+ if (documentRootItemProvider != null) documentRootItemProvider.dispose();
+ if (osgiImplementationItemProvider != null) osgiImplementationItemProvider.dispose();
+ if (scriptImplementationItemProvider != null) scriptImplementationItemProvider.dispose();
+ if (restBindingItemProvider != null) restBindingItemProvider.dispose();
+ if (rmiBindingItemProvider != null) rmiBindingItemProvider.dispose();
+ if (jsonRpcBindingItemProvider != null) jsonRpcBindingItemProvider.dispose();
}
/**
- * A child creation extender for the {@link ScaPackage}. <!-- begin-user-doc
+ * A child creation extender for the {@link ScaPackage}.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
public static class ScaChildCreationExtender implements
IChildCreationExtender {
/**
- * The switch for creating child descriptors specific to each extended
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The switch for creating child descriptors specific to each extended class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected static class CreationSwitch extends ScaSwitch<Object> {
/**
- * The child descriptors being populated. <!-- begin-user-doc -->
+ * The child descriptors being populated.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected List<Object> newChildDescriptors;
/**
- * The domain in which to create the children. <!-- begin-user-doc
+ * The domain in which to create the children.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
protected EditingDomain editingDomain;
/**
- * Creates the a switch for populating child descriptors in the
- * given domain. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Creates the a switch for populating child descriptors in the given domain.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
CreationSwitch(List<Object> newChildDescriptors,
@@ -361,943 +459,1976 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseBaseExportType(BaseExportType object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.BASE_EXPORT_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_EXPORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.BASE_EXPORT_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_EXPORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_EXPORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_EXPORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_EXPORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_EXPORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_EXPORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseBaseImportType(BaseImportType object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.BASE_IMPORT_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_IMPORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.BASE_IMPORT_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_IMPORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_IMPORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_IMPORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_IMPORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_IMPORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_IMPORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseBaseReference(BaseReference object) {
- newChildDescriptors.add(createChildParameter(
- ScaPackage.Literals.BASE_REFERENCE__BINDING_GROUP,
- FeatureMapUtil.createEntry(
- ScaPackage.Literals.BASE_REFERENCE__BINDING,
- FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_REFERENCE__BINDING_GROUP,
+ FeatureMapUtil.createEntry
+ (ScaPackage.Literals.BASE_REFERENCE__BINDING,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.BASE_REFERENCE__BINDING_GROUP,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_REFERENCE__BINDING_GROUP,
+ FeatureMapUtil.createEntry
+ (ScaPackage.Literals.BASE_REFERENCE__BINDING,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.BASE_REFERENCE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_REFERENCE__BINDING_GROUP,
+ FeatureMapUtil.createEntry
+ (ScaPackage.Literals.BASE_REFERENCE__BINDING,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_REFERENCE__BINDING_GROUP,
+ FeatureMapUtil.createEntry
+ (ScaPackage.Literals.BASE_REFERENCE__BINDING,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_REFERENCE__BINDING_GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_REFERENCE__BINDING_GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_REFERENCE__BINDING_GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_REFERENCE__BINDING_GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_REFERENCE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_REFERENCE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_REFERENCE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseBaseService(BaseService object) {
- newChildDescriptors.add(createChildParameter(
- ScaPackage.Literals.BASE_SERVICE__BINDING_GROUP,
- FeatureMapUtil.createEntry(
- ScaPackage.Literals.BASE_SERVICE__BINDING,
- FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_SERVICE__BINDING_GROUP,
+ FeatureMapUtil.createEntry
+ (ScaPackage.Literals.BASE_SERVICE__BINDING,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.BASE_SERVICE__BINDING_GROUP,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_SERVICE__BINDING_GROUP,
+ FeatureMapUtil.createEntry
+ (ScaPackage.Literals.BASE_SERVICE__BINDING,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.BASE_SERVICE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_SERVICE__BINDING_GROUP,
+ FeatureMapUtil.createEntry
+ (ScaPackage.Literals.BASE_SERVICE__BINDING,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_SERVICE__BINDING_GROUP,
+ FeatureMapUtil.createEntry
+ (ScaPackage.Literals.BASE_SERVICE__BINDING,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_SERVICE__BINDING_GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_SERVICE__BINDING_GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_SERVICE__BINDING_GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_SERVICE__BINDING_GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_SERVICE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_SERVICE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BASE_SERVICE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseBindingType(BindingType object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.BINDING_TYPE__GROUP,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BINDING_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.BINDING_TYPE__GROUP,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BINDING_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BINDING_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BINDING_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BINDING_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BINDING_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BINDING_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseBpelImplementation(BpelImplementation object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.BPEL_IMPLEMENTATION__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BPEL_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.BPEL_IMPLEMENTATION__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BPEL_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BPEL_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BPEL_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BPEL_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BPEL_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BPEL_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseBpelPartnerLinkType(BpelPartnerLinkType object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.BPEL_PARTNER_LINK_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BPEL_PARTNER_LINK_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.BPEL_PARTNER_LINK_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BPEL_PARTNER_LINK_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BPEL_PARTNER_LINK_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BPEL_PARTNER_LINK_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BPEL_PARTNER_LINK_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BPEL_PARTNER_LINK_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.BPEL_PARTNER_LINK_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseCallback(Callback object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.CALLBACK__GROUP,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CALLBACK__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.CALLBACK__GROUP,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CALLBACK__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CALLBACK__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CALLBACK__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CALLBACK__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CALLBACK__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CALLBACK__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseComponent(Component object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.COMPONENT__IMPLEMENTATION_GROUP,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPONENT__IMPLEMENTATION_GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.COMPONENT__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPONENT__IMPLEMENTATION_GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPONENT__IMPLEMENTATION_GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPONENT__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPONENT__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPONENT__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPONENT__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseComponentType(ComponentType object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.COMPONENT_TYPE__IMPLEMENTATION_GROUP,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPONENT_TYPE__IMPLEMENTATION_GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.COMPONENT_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPONENT_TYPE__IMPLEMENTATION_GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPONENT_TYPE__IMPLEMENTATION_GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPONENT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPONENT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPONENT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPONENT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseComposite(Composite object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.COMPOSITE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPOSITE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.COMPOSITE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPOSITE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPOSITE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPOSITE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPOSITE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPOSITE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.COMPOSITE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseConstrainingType(ConstrainingType object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.CONSTRAINING_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CONSTRAINING_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.CONSTRAINING_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CONSTRAINING_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CONSTRAINING_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CONSTRAINING_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CONSTRAINING_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CONSTRAINING_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CONSTRAINING_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseContributionType(ContributionType object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.CONTRIBUTION_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CONTRIBUTION_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.CONTRIBUTION_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CONTRIBUTION_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CONTRIBUTION_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CONTRIBUTION_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CONTRIBUTION_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CONTRIBUTION_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CONTRIBUTION_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseCPPImplementation(CPPImplementation object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.CPP_IMPLEMENTATION__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CPP_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.CPP_IMPLEMENTATION__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CPP_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CPP_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CPP_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CPP_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CPP_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CPP_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseCPPInterface(CPPInterface object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.CPP_INTERFACE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CPP_INTERFACE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.CPP_INTERFACE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CPP_INTERFACE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CPP_INTERFACE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CPP_INTERFACE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CPP_INTERFACE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CPP_INTERFACE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.CPP_INTERFACE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseDefinitionsType(DefinitionsType object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.DEFINITIONS_TYPE__GROUP,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.DEFINITIONS_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.DEFINITIONS_TYPE__GROUP,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.DEFINITIONS_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.DEFINITIONS_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.DEFINITIONS_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.DEFINITIONS_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.DEFINITIONS_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.DEFINITIONS_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseDeployableType(DeployableType object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.DEPLOYABLE_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.DEPLOYABLE_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.DEPLOYABLE_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.DEPLOYABLE_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.DEPLOYABLE_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.DEPLOYABLE_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.DEPLOYABLE_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.DEPLOYABLE_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.DEPLOYABLE_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseEJBImplementation(EJBImplementation object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.EJB_IMPLEMENTATION__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.EJB_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.EJB_IMPLEMENTATION__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.EJB_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.EJB_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.EJB_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.EJB_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.EJB_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.EJB_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseEJBSessionBeanBinding(EJBSessionBeanBinding object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.EJB_SESSION_BEAN_BINDING__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.EJB_SESSION_BEAN_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.EJB_SESSION_BEAN_BINDING__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.EJB_SESSION_BEAN_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.EJB_SESSION_BEAN_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.EJB_SESSION_BEAN_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.EJB_SESSION_BEAN_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.EJB_SESSION_BEAN_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.EJB_SESSION_BEAN_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseImplementationType(ImplementationType object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.IMPLEMENTATION_TYPE__GROUP,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.IMPLEMENTATION_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.IMPLEMENTATION_TYPE__GROUP,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.IMPLEMENTATION_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.IMPLEMENTATION_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.IMPLEMENTATION_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.IMPLEMENTATION_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.IMPLEMENTATION_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.IMPLEMENTATION_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseIntent(Intent object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.INTENT__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.INTENT__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.INTENT__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.INTENT__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.INTENT__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.INTENT__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.INTENT__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.INTENT__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.INTENT__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseIntentMap(IntentMap object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.INTENT_MAP__GROUP,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.INTENT_MAP__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.INTENT_MAP__GROUP,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.INTENT_MAP__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.INTENT_MAP__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.INTENT_MAP__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.INTENT_MAP__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.INTENT_MAP__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.INTENT_MAP__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseJavaImplementation(JavaImplementation object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.JAVA_IMPLEMENTATION__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JAVA_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.JAVA_IMPLEMENTATION__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JAVA_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JAVA_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JAVA_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JAVA_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JAVA_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JAVA_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseJavaInterface(JavaInterface object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.JAVA_INTERFACE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JAVA_INTERFACE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.JAVA_INTERFACE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JAVA_INTERFACE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JAVA_INTERFACE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JAVA_INTERFACE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JAVA_INTERFACE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JAVA_INTERFACE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JAVA_INTERFACE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseJMSBinding(JMSBinding object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.JMS_BINDING__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JMS_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.JMS_BINDING__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JMS_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JMS_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JMS_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JMS_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JMS_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.JMS_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseSCABinding(SCABinding object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.SCA_BINDING__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.SCA_BINDING__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseSCAImplementation(SCAImplementation object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.SCA_IMPLEMENTATION__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.SCA_IMPLEMENTATION__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseSCAPropertyBase(SCAPropertyBase object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.SCA_PROPERTY_BASE__MIXED,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_PROPERTY_BASE__MIXED,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.SCA_PROPERTY_BASE__MIXED,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_PROPERTY_BASE__MIXED,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_PROPERTY_BASE__MIXED,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_PROPERTY_BASE__MIXED,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_PROPERTY_BASE__MIXED,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_PROPERTY_BASE__MIXED,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SCA_PROPERTY_BASE__MIXED,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseSpringImplementation(SpringImplementation object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.SPRING_IMPLEMENTATION__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SPRING_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.SPRING_IMPLEMENTATION__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SPRING_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SPRING_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SPRING_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SPRING_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SPRING_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.SPRING_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseWebImplementation(WebImplementation object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.WEB_IMPLEMENTATION__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WEB_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.WEB_IMPLEMENTATION__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WEB_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WEB_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WEB_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WEB_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WEB_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WEB_IMPLEMENTATION__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseWebServiceBinding(WebServiceBinding object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.WEB_SERVICE_BINDING__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WEB_SERVICE_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.WEB_SERVICE_BINDING__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WEB_SERVICE_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WEB_SERVICE_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WEB_SERVICE_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WEB_SERVICE_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WEB_SERVICE_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WEB_SERVICE_BINDING__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseWire(Wire object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.WIRE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WIRE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.WIRE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WIRE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WIRE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WIRE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WIRE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WIRE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WIRE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseWSDLPortType(WSDLPortType object) {
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.WSDL_PORT_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WSDL_PORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- ScaPackage.Literals.WSDL_PORT_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WSDL_PORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WSDL_PORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WSDL_PORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WSDL_PORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WSDL_PORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ScaPackage.Literals.WSDL_PORT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected CommandParameter createChildParameter(Object feature,
@@ -1309,20 +2440,17 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Collection<Object> getNewChildDescriptors(Object object,
EditingDomain editingDomain) {
ArrayList<Object> result = new ArrayList<Object>();
- new CreationSwitch(result, editingDomain)
- .doSwitch((EObject) object);
- return result;
+ new CreationSwitch(result, editingDomain).doSwitch((EObject)object);
+ return result;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public ResourceLocator getResourceLocator() {
@@ -1339,32 +2467,30 @@
public static class PolicyChildCreationExtender implements
IChildCreationExtender {
/**
- * The switch for creating child descriptors specific to each extended
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The switch for creating child descriptors specific to each extended class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected static class CreationSwitch extends PolicySwitch<Object> {
/**
- * The child descriptors being populated. <!-- begin-user-doc -->
+ * The child descriptors being populated.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected List<Object> newChildDescriptors;
/**
- * The domain in which to create the children. <!-- begin-user-doc
+ * The domain in which to create the children.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
protected EditingDomain editingDomain;
/**
- * Creates the a switch for populating child descriptors in the
- * given domain. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Creates the a switch for populating child descriptors in the given domain.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
CreationSwitch(List<Object> newChildDescriptors,
@@ -1375,91 +2501,180 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseAppliesToType(AppliesToType object) {
- newChildDescriptors
- .add(createChildParameter(
- PolicyPackage.Literals.APPLIES_TO_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.APPLIES_TO_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- PolicyPackage.Literals.APPLIES_TO_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.APPLIES_TO_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.APPLIES_TO_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.APPLIES_TO_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.APPLIES_TO_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.APPLIES_TO_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.APPLIES_TO_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object caseOperatorContentType(OperatorContentType object) {
- newChildDescriptors
- .add(createChildParameter(
- PolicyPackage.Literals.OPERATOR_CONTENT_TYPE__GROUP,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.OPERATOR_CONTENT_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- PolicyPackage.Literals.OPERATOR_CONTENT_TYPE__GROUP,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.OPERATOR_CONTENT_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.OPERATOR_CONTENT_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.OPERATOR_CONTENT_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.OPERATOR_CONTENT_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.OPERATOR_CONTENT_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.OPERATOR_CONTENT_TYPE__GROUP,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object casePolicyAttachmentType(PolicyAttachmentType object) {
- newChildDescriptors
- .add(createChildParameter(
- PolicyPackage.Literals.POLICY_ATTACHMENT_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
- FrascatiFactory.eINSTANCE
- .createFractalImplementation())));
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.POLICY_ATTACHMENT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_FRACTAL,
+ FrascatiFactory.eINSTANCE.createFractalImplementation())));
- newChildDescriptors
- .add(createChildParameter(
- PolicyPackage.Literals.POLICY_ATTACHMENT_TYPE__ANY,
- FeatureMapUtil
- .createEntry(
- FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
- FrascatiFactory.eINSTANCE
- .createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.POLICY_ATTACHMENT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JBI,
+ FrascatiFactory.eINSTANCE.createJBIBinding())));
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.POLICY_ATTACHMENT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_OSGI,
+ FrascatiFactory.eINSTANCE.createOsgiImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.POLICY_ATTACHMENT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__IMPLEMENTATION_SCRIPT,
+ FrascatiFactory.eINSTANCE.createScriptImplementation())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.POLICY_ATTACHMENT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_REST,
+ FrascatiFactory.eINSTANCE.createRestBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.POLICY_ATTACHMENT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_RMI,
+ FrascatiFactory.eINSTANCE.createRMIBinding())));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PolicyPackage.Literals.POLICY_ATTACHMENT_TYPE__ANY,
+ FeatureMapUtil.createEntry
+ (FrascatiPackage.Literals.DOCUMENT_ROOT__BINDING_JSON_RPC,
+ FrascatiFactory.eINSTANCE.createJsonRpcBinding())));
+
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected CommandParameter createChildParameter(Object feature,
@@ -1471,20 +2686,17 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Collection<Object> getNewChildDescriptors(Object object,
EditingDomain editingDomain) {
ArrayList<Object> result = new ArrayList<Object>();
- new CreationSwitch(result, editingDomain)
- .doSwitch((EObject) object);
- return result;
+ new CreationSwitch(result, editingDomain).doSwitch((EObject)object);
+ return result;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public ResourceLocator getResourceLocator() {
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/JBIBindingItemProvider.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/JBIBindingItemProvider.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/JBIBindingItemProvider.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -83,16 +83,19 @@
*/
@SuppressWarnings("nls")
protected void addServiceNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory)
- .getRootAdapterFactory(), getResourceLocator(),
- getString("_UI_JBIBinding_serviceName_feature"), getString(
- "_UI_PropertyDescriptor_description",
- "_UI_JBIBinding_serviceName_feature",
- "_UI_JBIBinding_type"),
- FrascatiPackage.Literals.JBI_BINDING__SERVICE_NAME, true,
- false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null,
- null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_JBIBinding_serviceName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_JBIBinding_serviceName_feature", "_UI_JBIBinding_type"),
+ FrascatiPackage.Literals.JBI_BINDING__SERVICE_NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
@@ -103,16 +106,19 @@
*/
@SuppressWarnings("nls")
protected void addInterfaceNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory)
- .getRootAdapterFactory(), getResourceLocator(),
- getString("_UI_JBIBinding_interfaceName_feature"), getString(
- "_UI_PropertyDescriptor_description",
- "_UI_JBIBinding_interfaceName_feature",
- "_UI_JBIBinding_type"),
- FrascatiPackage.Literals.JBI_BINDING__INTERFACE_NAME, true,
- false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null,
- null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_JBIBinding_interfaceName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_JBIBinding_interfaceName_feature", "_UI_JBIBinding_type"),
+ FrascatiPackage.Literals.JBI_BINDING__INTERFACE_NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
@@ -123,16 +129,19 @@
*/
@SuppressWarnings("nls")
protected void addInterfaceNamespacePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory)
- .getRootAdapterFactory(), getResourceLocator(),
- getString("_UI_JBIBinding_interfaceNamespace_feature"),
- getString("_UI_PropertyDescriptor_description",
- "_UI_JBIBinding_interfaceNamespace_feature",
- "_UI_JBIBinding_type"),
- FrascatiPackage.Literals.JBI_BINDING__INTERFACE_NAMESPACE,
- true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null, null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_JBIBinding_interfaceNamespace_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_JBIBinding_interfaceNamespace_feature", "_UI_JBIBinding_type"),
+ FrascatiPackage.Literals.JBI_BINDING__INTERFACE_NAMESPACE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
@@ -143,16 +152,19 @@
*/
@SuppressWarnings("nls")
protected void addEndpointNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory)
- .getRootAdapterFactory(), getResourceLocator(),
- getString("_UI_JBIBinding_endpointName_feature"), getString(
- "_UI_PropertyDescriptor_description",
- "_UI_JBIBinding_endpointName_feature",
- "_UI_JBIBinding_type"),
- FrascatiPackage.Literals.JBI_BINDING__ENDPOINT_NAME, true,
- false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null,
- null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_JBIBinding_endpointName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_JBIBinding_endpointName_feature", "_UI_JBIBinding_type"),
+ FrascatiPackage.Literals.JBI_BINDING__ENDPOINT_NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
@@ -163,16 +175,19 @@
*/
@SuppressWarnings("nls")
protected void addOperationNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory)
- .getRootAdapterFactory(), getResourceLocator(),
- getString("_UI_JBIBinding_operationName_feature"), getString(
- "_UI_PropertyDescriptor_description",
- "_UI_JBIBinding_operationName_feature",
- "_UI_JBIBinding_type"),
- FrascatiPackage.Literals.JBI_BINDING__OPERATION_NAME, true,
- false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null,
- null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_JBIBinding_operationName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_JBIBinding_operationName_feature", "_UI_JBIBinding_type"),
+ FrascatiPackage.Literals.JBI_BINDING__OPERATION_NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
@@ -183,16 +198,19 @@
*/
@SuppressWarnings("nls")
protected void addOperationNamespacePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory)
- .getRootAdapterFactory(), getResourceLocator(),
- getString("_UI_JBIBinding_operationNamespace_feature"),
- getString("_UI_PropertyDescriptor_description",
- "_UI_JBIBinding_operationNamespace_feature",
- "_UI_JBIBinding_type"),
- FrascatiPackage.Literals.JBI_BINDING__OPERATION_NAMESPACE,
- true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null, null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_JBIBinding_operationNamespace_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_JBIBinding_operationNamespace_feature", "_UI_JBIBinding_type"),
+ FrascatiPackage.Literals.JBI_BINDING__OPERATION_NAMESPACE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
@@ -203,35 +221,42 @@
*/
@SuppressWarnings("nls")
protected void addTimeoutPropertyDescriptor(Object object) {
- itemPropertyDescriptors
- .add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory)
- .getRootAdapterFactory(), getResourceLocator(),
- getString("_UI_JBIBinding_timeout_feature"), getString(
- "_UI_PropertyDescriptor_description",
- "_UI_JBIBinding_timeout_feature",
- "_UI_JBIBinding_type"),
- FrascatiPackage.Literals.JBI_BINDING__TIMEOUT, true,
- false, false,
- ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_JBIBinding_timeout_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_JBIBinding_timeout_feature", "_UI_JBIBinding_type"),
+ FrascatiPackage.Literals.JBI_BINDING__TIMEOUT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE,
+ null,
+ null));
}
/**
- * This adds a property descriptor for the Wsdl feature. <!-- begin-user-doc
+ * This adds a property descriptor for the Wsdl feature.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("nls")
protected void addWsdlPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory)
- .getRootAdapterFactory(), getResourceLocator(),
- getString("_UI_JBIBinding_wsdl_feature"), getString(
- "_UI_PropertyDescriptor_description",
- "_UI_JBIBinding_wsdl_feature", "_UI_JBIBinding_type"),
- FrascatiPackage.Literals.JBI_BINDING__WSDL, true, false, false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_JBIBinding_wsdl_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_JBIBinding_wsdl_feature", "_UI_JBIBinding_type"),
+ FrascatiPackage.Literals.JBI_BINDING__WSDL,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
@@ -242,26 +267,26 @@
*/
@SuppressWarnings("nls")
protected void addServiceNamespacePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory)
- .getRootAdapterFactory(), getResourceLocator(),
- getString("_UI_JBIBinding_serviceNamespace_feature"),
- getString("_UI_PropertyDescriptor_description",
- "_UI_JBIBinding_serviceNamespace_feature",
- "_UI_JBIBinding_type"),
- FrascatiPackage.Literals.JBI_BINDING__SERVICE_NAMESPACE, true,
- false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null,
- null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_JBIBinding_serviceNamespace_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_JBIBinding_serviceNamespace_feature", "_UI_JBIBinding_type"),
+ FrascatiPackage.Literals.JBI_BINDING__SERVICE_NAMESPACE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
- * This specifies how to implement {@link #getChildren} and is used to
- * deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand},
- * {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in
- * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
@@ -269,8 +294,7 @@
Object object) {
if (childrenFeatures == null) {
super.getChildrenFeatures(object);
- childrenFeatures
- .add(FrascatiPackage.Literals.JBI_BINDING__ANY_ATTRIBUTE);
+ childrenFeatures.add(FrascatiPackage.Literals.JBI_BINDING__ANY_ATTRIBUTE);
childrenFeatures.add(FrascatiPackage.Literals.JBI_BINDING__GROUP);
}
return childrenFeatures;
@@ -278,13 +302,11 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper
- // feature to use for
+ // Check the type of the specified child object and return the proper feature to use for
// adding (see {@link AddCommand}) it as a child.
return super.getChildFeature(object, child);
@@ -299,30 +321,29 @@
@SuppressWarnings("nls")
@Override
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage(
- "full/obj16/JBIBinding"));
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/JBIBinding"));
}
/**
- * This returns the label text for the adapted class. <!-- begin-user-doc
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@SuppressWarnings("nls")
public String getText(Object object) {
- String label = ((JBIBinding) object).getName();
- return label == null || label.length() == 0 ? getString("_UI_JBIBinding_type")
- : getString("_UI_JBIBinding_type") + " " + label;
+ String label = ((JBIBinding)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_JBIBinding_type") :
+ getString("_UI_JBIBinding_type") + " " + label;
}
/**
- * This handles model notifications by calling {@link #updateChildren} to
- * update any cached children and by creating a viewer notification, which
- * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!--
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
@Override
@@ -330,23 +351,21 @@
updateChildren(notification);
switch (notification.getFeatureID(JBIBinding.class)) {
- case FrascatiPackage.JBI_BINDING__INTERFACE_NAME:
- case FrascatiPackage.JBI_BINDING__INTERFACE_NAMESPACE:
- case FrascatiPackage.JBI_BINDING__SERVICE_NAME:
- case FrascatiPackage.JBI_BINDING__SERVICE_NAMESPACE:
- case FrascatiPackage.JBI_BINDING__ENDPOINT_NAME:
- case FrascatiPackage.JBI_BINDING__OPERATION_NAME:
- case FrascatiPackage.JBI_BINDING__OPERATION_NAMESPACE:
- case FrascatiPackage.JBI_BINDING__TIMEOUT:
- case FrascatiPackage.JBI_BINDING__WSDL:
- fireNotifyChanged(new ViewerNotification(notification, notification
- .getNotifier(), false, true));
- return;
- case FrascatiPackage.JBI_BINDING__ANY_ATTRIBUTE:
- case FrascatiPackage.JBI_BINDING__GROUP:
- fireNotifyChanged(new ViewerNotification(notification, notification
- .getNotifier(), true, false));
- return;
+ case FrascatiPackage.JBI_BINDING__INTERFACE_NAME:
+ case FrascatiPackage.JBI_BINDING__INTERFACE_NAMESPACE:
+ case FrascatiPackage.JBI_BINDING__SERVICE_NAME:
+ case FrascatiPackage.JBI_BINDING__SERVICE_NAMESPACE:
+ case FrascatiPackage.JBI_BINDING__ENDPOINT_NAME:
+ case FrascatiPackage.JBI_BINDING__OPERATION_NAME:
+ case FrascatiPackage.JBI_BINDING__OPERATION_NAMESPACE:
+ case FrascatiPackage.JBI_BINDING__TIMEOUT:
+ case FrascatiPackage.JBI_BINDING__WSDL:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case FrascatiPackage.JBI_BINDING__ANY_ATTRIBUTE:
+ case FrascatiPackage.JBI_BINDING__GROUP:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/JsonRpcBindingItemProvider.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/JsonRpcBindingItemProvider.java (rev 0)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/JsonRpcBindingItemProvider.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -0,0 +1,171 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.stp.sca.domainmodel.frascati.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage;
+import org.eclipse.stp.sca.domainmodel.frascati.JsonRpcBinding;
+
+import org.eclipse.stp.sca.provider.BindingItemProvider;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.stp.sca.domainmodel.frascati.JsonRpcBinding} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class JsonRpcBindingItemProvider
+ extends BindingItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JsonRpcBindingItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(FrascatiPackage.Literals.JSON_RPC_BINDING__ANY_ATTRIBUTE);
+ childrenFeatures.add(FrascatiPackage.Literals.JSON_RPC_BINDING__GROUP);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns JsonRpcBinding.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/JsonRpcBinding"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((JsonRpcBinding)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_JsonRpcBinding_type") :
+ getString("_UI_JsonRpcBinding_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(JsonRpcBinding.class)) {
+ case FrascatiPackage.JSON_RPC_BINDING__ANY_ATTRIBUTE:
+ case FrascatiPackage.JSON_RPC_BINDING__GROUP:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return FrascatiEditPlugin.INSTANCE;
+ }
+
+}
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/JsonRpcBindingItemProvider.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/OsgiImplementationItemProvider.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/OsgiImplementationItemProvider.java (rev 0)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/OsgiImplementationItemProvider.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -0,0 +1,200 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.stp.sca.domainmodel.frascati.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage;
+import org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation;
+
+import org.eclipse.stp.sca.provider.ImplementationItemProvider;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.stp.sca.domainmodel.frascati.OsgiImplementation} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class OsgiImplementationItemProvider
+ extends ImplementationItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OsgiImplementationItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addBundlePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Bundle feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addBundlePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_OsgiImplementation_bundle_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_OsgiImplementation_bundle_feature", "_UI_OsgiImplementation_type"),
+ FrascatiPackage.Literals.OSGI_IMPLEMENTATION__BUNDLE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(FrascatiPackage.Literals.OSGI_IMPLEMENTATION__ANY_ATTRIBUTE);
+ childrenFeatures.add(FrascatiPackage.Literals.OSGI_IMPLEMENTATION__GROUP);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns OsgiImplementation.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/OsgiImplementation"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ List labelValue = ((OsgiImplementation)object).getPolicySets();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ?
+ getString("_UI_OsgiImplementation_type") :
+ getString("_UI_OsgiImplementation_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(OsgiImplementation.class)) {
+ case FrascatiPackage.OSGI_IMPLEMENTATION__BUNDLE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case FrascatiPackage.OSGI_IMPLEMENTATION__ANY_ATTRIBUTE:
+ case FrascatiPackage.OSGI_IMPLEMENTATION__GROUP:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return FrascatiEditPlugin.INSTANCE;
+ }
+
+}
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/OsgiImplementationItemProvider.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/RMIBindingItemProvider.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/RMIBindingItemProvider.java (rev 0)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/RMIBindingItemProvider.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -0,0 +1,247 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.stp.sca.domainmodel.frascati.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage;
+import org.eclipse.stp.sca.domainmodel.frascati.RMIBinding;
+
+import org.eclipse.stp.sca.provider.BindingItemProvider;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.stp.sca.domainmodel.frascati.RMIBinding} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class RMIBindingItemProvider
+ extends BindingItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RMIBindingItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addHostPropertyDescriptor(object);
+ addServiceNamePropertyDescriptor(object);
+ addPortPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Host feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addHostPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_RMIBinding_host_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_RMIBinding_host_feature", "_UI_RMIBinding_type"),
+ FrascatiPackage.Literals.RMI_BINDING__HOST,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Service Name feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addServiceNamePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_RMIBinding_serviceName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_RMIBinding_serviceName_feature", "_UI_RMIBinding_type"),
+ FrascatiPackage.Literals.RMI_BINDING__SERVICE_NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Port feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addPortPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_RMIBinding_port_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_RMIBinding_port_feature", "_UI_RMIBinding_type"),
+ FrascatiPackage.Literals.RMI_BINDING__PORT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(FrascatiPackage.Literals.RMI_BINDING__ANY_ATTRIBUTE);
+ childrenFeatures.add(FrascatiPackage.Literals.RMI_BINDING__GROUP);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns RMIBinding.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/RMIBinding"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((RMIBinding)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_RMIBinding_type") :
+ getString("_UI_RMIBinding_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(RMIBinding.class)) {
+ case FrascatiPackage.RMI_BINDING__HOST:
+ case FrascatiPackage.RMI_BINDING__SERVICE_NAME:
+ case FrascatiPackage.RMI_BINDING__PORT:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case FrascatiPackage.RMI_BINDING__ANY_ATTRIBUTE:
+ case FrascatiPackage.RMI_BINDING__GROUP:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return FrascatiEditPlugin.INSTANCE;
+ }
+
+}
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/RMIBindingItemProvider.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/RestBindingItemProvider.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/RestBindingItemProvider.java (rev 0)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/RestBindingItemProvider.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -0,0 +1,171 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.stp.sca.domainmodel.frascati.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage;
+import org.eclipse.stp.sca.domainmodel.frascati.RestBinding;
+
+import org.eclipse.stp.sca.provider.BindingItemProvider;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.stp.sca.domainmodel.frascati.RestBinding} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class RestBindingItemProvider
+ extends BindingItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RestBindingItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(FrascatiPackage.Literals.REST_BINDING__ANY_ATTRIBUTE);
+ childrenFeatures.add(FrascatiPackage.Literals.REST_BINDING__GROUP);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns RestBinding.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/RestBinding"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((RestBinding)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_RestBinding_type") :
+ getString("_UI_RestBinding_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(RestBinding.class)) {
+ case FrascatiPackage.REST_BINDING__ANY_ATTRIBUTE:
+ case FrascatiPackage.REST_BINDING__GROUP:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return FrascatiEditPlugin.INSTANCE;
+ }
+
+}
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/RestBindingItemProvider.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/ScriptImplementationItemProvider.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/ScriptImplementationItemProvider.java (rev 0)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/ScriptImplementationItemProvider.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -0,0 +1,224 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.stp.sca.domainmodel.frascati.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.stp.sca.domainmodel.frascati.FrascatiPackage;
+import org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation;
+
+import org.eclipse.stp.sca.provider.ImplementationItemProvider;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.stp.sca.domainmodel.frascati.ScriptImplementation} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ScriptImplementationItemProvider
+ extends ImplementationItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ScriptImplementationItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addScriptPropertyDescriptor(object);
+ addLanguagePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Script feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addScriptPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ScriptImplementation_script_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ScriptImplementation_script_feature", "_UI_ScriptImplementation_type"),
+ FrascatiPackage.Literals.SCRIPT_IMPLEMENTATION__SCRIPT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Language feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addLanguagePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ScriptImplementation_language_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ScriptImplementation_language_feature", "_UI_ScriptImplementation_type"),
+ FrascatiPackage.Literals.SCRIPT_IMPLEMENTATION__LANGUAGE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(FrascatiPackage.Literals.SCRIPT_IMPLEMENTATION__ANY_ATTRIBUTE);
+ childrenFeatures.add(FrascatiPackage.Literals.SCRIPT_IMPLEMENTATION__GROUP);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns ScriptImplementation.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ScriptImplementation"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ List labelValue = ((ScriptImplementation)object).getPolicySets();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ScriptImplementation_type") :
+ getString("_UI_ScriptImplementation_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ScriptImplementation.class)) {
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__SCRIPT:
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__LANGUAGE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__ANY_ATTRIBUTE:
+ case FrascatiPackage.SCRIPT_IMPLEMENTATION__GROUP:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return FrascatiEditPlugin.INSTANCE;
+ }
+
+}
Property changes on: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.edit/src/org/eclipse/stp/sca/domainmodel/frascati/provider/ScriptImplementationItemProvider.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.editor/src/org/eclipse/stp/sca/domainmodel/frascati/presentation/FrascatiActionBarContributor.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.editor/src/org/eclipse/stp/sca/domainmodel/frascati/presentation/FrascatiActionBarContributor.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.editor/src/org/eclipse/stp/sca/domainmodel/frascati/presentation/FrascatiActionBarContributor.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -57,40 +57,39 @@
public class FrascatiActionBarContributor extends
EditingDomainActionBarContributor implements ISelectionChangedListener {
/**
- * This keeps track of the active editor. <!-- begin-user-doc --> <!--
+ * This keeps track of the active editor.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
protected IEditorPart activeEditorPart;
/**
- * This keeps track of the current selection provider. <!-- begin-user-doc
+ * This keeps track of the current selection provider.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
protected ISelectionProvider selectionProvider;
/**
- * This action opens the Properties view. <!-- begin-user-doc --> <!--
+ * This action opens the Properties view.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("nls")
- protected IAction showPropertiesViewAction = new Action(
- FrascatiEditorPlugin.INSTANCE
- .getString("_UI_ShowPropertiesView_menu_item")) {
- @Override
- public void run() {
- try {
- getPage().showView("org.eclipse.ui.views.PropertySheet");
- } catch (PartInitException exception) {
- FrascatiEditorPlugin.INSTANCE.log(exception);
+ protected IAction showPropertiesViewAction = new Action(FrascatiEditorPlugin.INSTANCE.getString("_UI_ShowPropertiesView_menu_item")) {
+ @Override
+ public void run() {
+ try {
+ getPage().showView("org.eclipse.ui.views.PropertySheet");
+ }
+ catch (PartInitException exception) {
+ FrascatiEditorPlugin.INSTANCE.log(exception);
+ }
}
- }
- };
+ };
/**
* This action refreshes the viewer of the current editor if the editor
@@ -100,32 +99,27 @@
* @generated
*/
@SuppressWarnings("nls")
- protected IAction refreshViewerAction = new Action(
- FrascatiEditorPlugin.INSTANCE
- .getString("_UI_RefreshViewer_menu_item")) {
- @Override
- public boolean isEnabled() {
- return activeEditorPart instanceof IViewerProvider;
- }
+ protected IAction refreshViewerAction = new Action(FrascatiEditorPlugin.INSTANCE.getString("_UI_RefreshViewer_menu_item")) {
+ @Override
+ public boolean isEnabled() {
+ return activeEditorPart instanceof IViewerProvider;
+ }
- @Override
- public void run() {
- if (activeEditorPart instanceof IViewerProvider) {
- Viewer viewer = ((IViewerProvider) activeEditorPart)
- .getViewer();
- if (viewer != null) {
- viewer.refresh();
+ @Override
+ public void run() {
+ if (activeEditorPart instanceof IViewerProvider) {
+ Viewer viewer = ((IViewerProvider)activeEditorPart).getViewer();
+ if (viewer != null) {
+ viewer.refresh();
+ }
}
}
- }
- };
+ };
/**
- * This will contain one
- * {@link org.eclipse.emf.edit.ui.action.CreateChildAction} corresponding to
- * each descriptor generated for the current selection by the item provider.
+ * This will contain one {@link org.eclipse.emf.edit.ui.action.CreateChildAction} corresponding to each descriptor
+ * generated for the current selection by the item provider.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected Collection<IAction> createChildActions;
@@ -140,28 +134,25 @@
protected IMenuManager createChildMenuManager;
/**
- * This will contain one
- * {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction} corresponding
- * to each descriptor generated for the current selection by the item
- * provider. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This will contain one {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction} corresponding to each descriptor
+ * generated for the current selection by the item provider.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected Collection<IAction> createSiblingActions;
/**
- * This is the menu manager into which menu contribution items should be
- * added for CreateSibling actions. <!-- begin-user-doc --> <!--
+ * This is the menu manager into which menu contribution items should be added for CreateSibling actions.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
protected IMenuManager createSiblingMenuManager;
/**
- * This creates an instance of the contributor. <!-- begin-user-doc --> <!--
+ * This creates an instance of the contributor.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public FrascatiActionBarContributor() {
@@ -196,10 +187,7 @@
public void contributeToMenu(IMenuManager menuManager) {
super.contributeToMenu(menuManager);
- IMenuManager submenuManager = new MenuManager(
- FrascatiEditorPlugin.INSTANCE
- .getString("_UI_FrascatiEditor_menu"),
- "org.eclipse.stp.sca.domainmodel.frascatiMenuID");
+ IMenuManager submenuManager = new MenuManager(FrascatiEditorPlugin.INSTANCE.getString("_UI_FrascatiEditor_menu"), "org.eclipse.stp.sca.domainmodel.frascatiMenuID");
menuManager.insertAfter("additions", submenuManager);
submenuManager.add(new Separator("settings"));
submenuManager.add(new Separator("actions"));
@@ -208,33 +196,30 @@
// Prepare for CreateChild item addition or removal.
//
- createChildMenuManager = new MenuManager(FrascatiEditorPlugin.INSTANCE
- .getString("_UI_CreateChild_menu_item"));
+ createChildMenuManager = new MenuManager(FrascatiEditorPlugin.INSTANCE.getString("_UI_CreateChild_menu_item"));
submenuManager.insertBefore("additions", createChildMenuManager);
// Prepare for CreateSibling item addition or removal.
//
- createSiblingMenuManager = new MenuManager(
- FrascatiEditorPlugin.INSTANCE
- .getString("_UI_CreateSibling_menu_item"));
+ createSiblingMenuManager = new MenuManager(FrascatiEditorPlugin.INSTANCE.getString("_UI_CreateSibling_menu_item"));
submenuManager.insertBefore("additions", createSiblingMenuManager);
// Force an update because Eclipse hides empty menus now.
//
- submenuManager.addMenuListener(new IMenuListener() {
- public void menuAboutToShow(IMenuManager menuManager) {
- menuManager.updateAll(true);
- }
- });
+ submenuManager.addMenuListener
+ (new IMenuListener() {
+ public void menuAboutToShow(IMenuManager menuManager) {
+ menuManager.updateAll(true);
+ }
+ });
addGlobalActions(submenuManager);
}
/**
- * When the active editor changes, this remembers the change and registers
- * with it as a selection provider. <!-- begin-user-doc --> <!--
+ * When the active editor changes, this remembers the change and registers with it as a selection provider.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
@Override
@@ -249,15 +234,15 @@
}
if (part == null) {
selectionProvider = null;
- } else {
+ }
+ else {
selectionProvider = part.getSite().getSelectionProvider();
selectionProvider.addSelectionChangedListener(this);
// Fake a selection changed event to update the menus.
//
if (selectionProvider.getSelection() != null) {
- selectionChanged(new SelectionChangedEvent(selectionProvider,
- selectionProvider.getSelection()));
+ selectionChanged(new SelectionChangedEvent(selectionProvider, selectionProvider.getSelection()));
}
}
}
@@ -288,13 +273,10 @@
Collection<?> newSiblingDescriptors = null;
ISelection selection = event.getSelection();
- if (selection instanceof IStructuredSelection
- && ((IStructuredSelection) selection).size() == 1) {
- Object object = ((IStructuredSelection) selection)
- .getFirstElement();
+ if (selection instanceof IStructuredSelection && ((IStructuredSelection)selection).size() == 1) {
+ Object object = ((IStructuredSelection)selection).getFirstElement();
- EditingDomain domain = ((IEditingDomainProvider) activeEditorPart)
- .getEditingDomain();
+ EditingDomain domain = ((IEditingDomainProvider)activeEditorPart).getEditingDomain();
newChildDescriptors = domain.getNewChildDescriptors(object, null);
newSiblingDescriptors = domain.getNewChildDescriptors(null, object);
@@ -302,27 +284,23 @@
// Generate actions for selection; populate and redraw the menus.
//
- createChildActions = generateCreateChildActions(newChildDescriptors,
- selection);
- createSiblingActions = generateCreateSiblingActions(
- newSiblingDescriptors, selection);
+ createChildActions = generateCreateChildActions(newChildDescriptors, selection);
+ createSiblingActions = generateCreateSiblingActions(newSiblingDescriptors, selection);
if (createChildMenuManager != null) {
populateManager(createChildMenuManager, createChildActions, null);
createChildMenuManager.update(true);
}
if (createSiblingMenuManager != null) {
- populateManager(createSiblingMenuManager, createSiblingActions,
- null);
+ populateManager(createSiblingMenuManager, createSiblingActions, null);
createSiblingMenuManager.update(true);
}
}
/**
- * This generates a {@link org.eclipse.emf.edit.ui.action.CreateChildAction}
- * for each object in <code>descriptors</code>, and returns the collection
- * of these actions. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This generates a {@link org.eclipse.emf.edit.ui.action.CreateChildAction} for each object in <code>descriptors</code>,
+ * and returns the collection of these actions.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected Collection<IAction> generateCreateChildActions(
@@ -330,19 +308,16 @@
Collection<IAction> actions = new ArrayList<IAction>();
if (descriptors != null) {
for (Object descriptor : descriptors) {
- actions.add(new CreateChildAction(activeEditorPart, selection,
- descriptor));
+ actions.add(new CreateChildAction(activeEditorPart, selection, descriptor));
}
}
return actions;
}
/**
- * This generates a
- * {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction} for each
- * object in <code>descriptors</code>, and returns the collection of these
- * actions. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This generates a {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction} for each object in <code>descriptors</code>,
+ * and returns the collection of these actions.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected Collection<IAction> generateCreateSiblingActions(
@@ -350,22 +325,18 @@
Collection<IAction> actions = new ArrayList<IAction>();
if (descriptors != null) {
for (Object descriptor : descriptors) {
- actions.add(new CreateSiblingAction(activeEditorPart,
- selection, descriptor));
+ actions.add(new CreateSiblingAction(activeEditorPart, selection, descriptor));
}
}
return actions;
}
/**
- * This populates the specified <code>manager</code> with
- * {@link org.eclipse.jface.action.ActionContributionItem}s based on the
- * {@link org.eclipse.jface.action.IAction}s contained in the
- * <code>actions</code> collection, by inserting them before the specified
- * contribution item <code>contributionID</code>. If
- * <code>contributionID</code> is <code>null</code>, they are simply added.
+ * This populates the specified <code>manager</code> with {@link org.eclipse.jface.action.ActionContributionItem}s
+ * based on the {@link org.eclipse.jface.action.IAction}s contained in the <code>actions</code> collection,
+ * by inserting them before the specified contribution item <code>contributionID</code>.
+ * If <code>contributionID</code> is <code>null</code>, they are simply added.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected void populateManager(IContributionManager manager,
@@ -374,7 +345,8 @@
for (IAction action : actions) {
if (contributionID != null) {
manager.insertBefore(contributionID, action);
- } else {
+ }
+ else {
manager.add(action);
}
}
@@ -382,12 +354,10 @@
}
/**
- * This removes from the specified <code>manager</code> all
- * {@link org.eclipse.jface.action.ActionContributionItem}s based on the
- * {@link org.eclipse.jface.action.IAction}s contained in the
- * <code>actions</code> collection. <!-- begin-user-doc --> <!--
+ * This removes from the specified <code>manager</code> all {@link org.eclipse.jface.action.ActionContributionItem}s
+ * based on the {@link org.eclipse.jface.action.IAction}s contained in the <code>actions</code> collection.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
protected void depopulateManager(IContributionManager manager,
@@ -399,15 +369,13 @@
//
IContributionItem contributionItem = items[i];
while (contributionItem instanceof SubContributionItem) {
- contributionItem = ((SubContributionItem) contributionItem)
- .getInnerItem();
+ contributionItem = ((SubContributionItem)contributionItem).getInnerItem();
}
// Delete the ActionContributionItems with matching action.
//
if (contributionItem instanceof ActionContributionItem) {
- IAction action = ((ActionContributionItem) contributionItem)
- .getAction();
+ IAction action = ((ActionContributionItem)contributionItem).getAction();
if (actions.contains(action)) {
manager.remove(contributionItem);
}
@@ -417,9 +385,9 @@
}
/**
- * This populates the pop-up menu before it appears. <!-- begin-user-doc -->
+ * This populates the pop-up menu before it appears.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -428,13 +396,11 @@
super.menuAboutToShow(menuManager);
MenuManager submenuManager = null;
- submenuManager = new MenuManager(FrascatiEditorPlugin.INSTANCE
- .getString("_UI_CreateChild_menu_item"));
+ submenuManager = new MenuManager(FrascatiEditorPlugin.INSTANCE.getString("_UI_CreateChild_menu_item"));
populateManager(submenuManager, createChildActions, null);
menuManager.insertBefore("edit", submenuManager);
- submenuManager = new MenuManager(FrascatiEditorPlugin.INSTANCE
- .getString("_UI_CreateSibling_menu_item"));
+ submenuManager = new MenuManager(FrascatiEditorPlugin.INSTANCE.getString("_UI_CreateSibling_menu_item"));
populateManager(submenuManager, createSiblingActions, null);
menuManager.insertBefore("edit", submenuManager);
}
@@ -451,16 +417,15 @@
menuManager.insertAfter("additions-end", new Separator("ui-actions"));
menuManager.insertAfter("ui-actions", showPropertiesViewAction);
- refreshViewerAction.setEnabled(refreshViewerAction.isEnabled());
+ refreshViewerAction.setEnabled(refreshViewerAction.isEnabled());
menuManager.insertAfter("ui-actions", refreshViewerAction);
super.addGlobalActions(menuManager);
}
/**
- * This ensures that a delete action will clean up all references to deleted
- * objects. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This ensures that a delete action will clean up all references to deleted objects.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.editor/src/org/eclipse/stp/sca/domainmodel/frascati/presentation/FrascatiEditor.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.editor/src/org/eclipse/stp/sca/domainmodel/frascati/presentation/FrascatiEditor.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.editor/src/org/eclipse/stp/sca/domainmodel/frascati/presentation/FrascatiEditor.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -131,18 +131,17 @@
import org.eclipse.ui.views.properties.PropertySheetPage;
/**
- * This is an example of a Frascati model editor. <!-- begin-user-doc --> <!--
+ * This is an example of a Frascati model editor.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public class FrascatiEditor extends MultiPageEditorPart implements
IEditingDomainProvider, ISelectionProvider, IMenuListener,
IViewerProvider, IGotoMarker {
/**
- * This keeps track of the editing domain that is used to track all changes
- * to the model. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This keeps track of the editing domain that is used to track all changes to the model.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected AdapterFactoryEditingDomain editingDomain;
@@ -150,38 +149,37 @@
/**
* This is the one adapter factory used for providing views of the model.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected ComposedAdapterFactory adapterFactory;
/**
- * This is the content outline page. <!-- begin-user-doc --> <!--
+ * This is the content outline page.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
protected IContentOutlinePage contentOutlinePage;
/**
- * This is a kludge... <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This is a kludge...
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected IStatusLineManager contentOutlineStatusLineManager;
/**
- * This is the content outline page's viewer. <!-- begin-user-doc --> <!--
+ * This is the content outline page's viewer.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
protected TreeViewer contentOutlineViewer;
/**
- * This is the property sheet page. <!-- begin-user-doc --> <!--
+ * This is the property sheet page.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
protected PropertySheetPage propertySheetPage;
@@ -196,41 +194,40 @@
protected TreeViewer selectionViewer;
/**
- * This inverts the roll of parent and child in the content provider and
- * show parents as a tree. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This inverts the roll of parent and child in the content provider and show parents as a tree.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected TreeViewer parentViewer;
/**
- * This shows how a tree view works. <!-- begin-user-doc --> <!--
+ * This shows how a tree view works.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
protected TreeViewer treeViewer;
/**
- * This shows how a list view works. A list viewer doesn't support icons.
+ * This shows how a list view works.
+ * A list viewer doesn't support icons.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected ListViewer listViewer;
/**
- * This shows how a table view works. A table can be used as a list with
- * icons. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This shows how a table view works.
+ * A table can be used as a list with icons.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected TableViewer tableViewer;
/**
- * This shows how a tree view with columns works. <!-- begin-user-doc -->
+ * This shows how a tree view with columns works.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected TreeViewer treeViewerWithColumns;
@@ -253,18 +250,16 @@
protected Viewer currentViewer;
/**
- * This listens to which ever viewer is active. <!-- begin-user-doc --> <!--
+ * This listens to which ever viewer is active.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
protected ISelectionChangedListener selectionChangedListener;
/**
- * This keeps track of all the
- * {@link org.eclipse.jface.viewers.ISelectionChangedListener}s that are
- * listening to this editor. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This keeps track of all the {@link org.eclipse.jface.viewers.ISelectionChangedListener}s that are listening to this editor.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected Collection<ISelectionChangedListener> selectionChangedListeners = new ArrayList<ISelectionChangedListener>();
@@ -278,57 +273,53 @@
protected ISelection editorSelection = StructuredSelection.EMPTY;
/**
- * The MarkerHelper is responsible for creating workspace resource markers
- * presented in Eclipse's Problems View. <!-- begin-user-doc --> <!--
+ * The MarkerHelper is responsible for creating workspace resource markers presented
+ * in Eclipse's Problems View.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
protected MarkerHelper markerHelper = new EditUIMarkerHelper();
/**
- * This listens for when the outline becomes active <!-- begin-user-doc -->
+ * This listens for when the outline becomes active
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected IPartListener partListener = new IPartListener() {
- public void partActivated(IWorkbenchPart p) {
- if (p instanceof ContentOutline) {
- if (((ContentOutline) p).getCurrentPage() == contentOutlinePage) {
- getActionBarContributor().setActiveEditor(
- FrascatiEditor.this);
+ public void partActivated(IWorkbenchPart p) {
+ if (p instanceof ContentOutline) {
+ if (((ContentOutline)p).getCurrentPage() == contentOutlinePage) {
+ getActionBarContributor().setActiveEditor(FrascatiEditor.this);
- setCurrentViewer(contentOutlineViewer);
+ setCurrentViewer(contentOutlineViewer);
+ }
}
- } else if (p instanceof PropertySheet) {
- if (((PropertySheet) p).getCurrentPage() == propertySheetPage) {
- getActionBarContributor().setActiveEditor(
- FrascatiEditor.this);
+ else if (p instanceof PropertySheet) {
+ if (((PropertySheet)p).getCurrentPage() == propertySheetPage) {
+ getActionBarContributor().setActiveEditor(FrascatiEditor.this);
+ handleActivate();
+ }
+ }
+ else if (p == FrascatiEditor.this) {
handleActivate();
}
- } else if (p == FrascatiEditor.this) {
- handleActivate();
}
- }
+ public void partBroughtToTop(IWorkbenchPart p) {
+ // Ignore.
+ }
+ public void partClosed(IWorkbenchPart p) {
+ // Ignore.
+ }
+ public void partDeactivated(IWorkbenchPart p) {
+ // Ignore.
+ }
+ public void partOpened(IWorkbenchPart p) {
+ // Ignore.
+ }
+ };
- public void partBroughtToTop(IWorkbenchPart p) {
- // Ignore.
- }
-
- public void partClosed(IWorkbenchPart p) {
- // Ignore.
- }
-
- public void partDeactivated(IWorkbenchPart p) {
- // Ignore.
- }
-
- public void partOpened(IWorkbenchPart p) {
- // Ignore.
- }
- };
-
/**
* Resources that have been removed since last activation. <!--
* begin-user-doc --> <!-- end-user-doc -->
@@ -370,133 +361,130 @@
protected boolean updateProblemIndication = true;
/**
- * Adapter used to update the problem indication when resources are demanded
- * loaded. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Adapter used to update the problem indication when resources are demanded loaded.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected EContentAdapter problemIndicationAdapter = new EContentAdapter() {
- @Override
- public void notifyChanged(Notification notification) {
- if (notification.getNotifier() instanceof Resource) {
- switch (notification.getFeatureID(Resource.class)) {
- case Resource.RESOURCE__IS_LOADED:
- case Resource.RESOURCE__ERRORS:
- case Resource.RESOURCE__WARNINGS: {
- Resource resource = (Resource) notification.getNotifier();
- Diagnostic diagnostic = analyzeResourceProblems(resource,
- null);
- if (diagnostic.getSeverity() != Diagnostic.OK) {
- resourceToDiagnosticMap.put(resource, diagnostic);
- } else {
- resourceToDiagnosticMap.remove(resource);
- }
+ @Override
+ public void notifyChanged(Notification notification) {
+ if (notification.getNotifier() instanceof Resource) {
+ switch (notification.getFeatureID(Resource.class)) {
+ case Resource.RESOURCE__IS_LOADED:
+ case Resource.RESOURCE__ERRORS:
+ case Resource.RESOURCE__WARNINGS: {
+ Resource resource = (Resource)notification.getNotifier();
+ Diagnostic diagnostic = analyzeResourceProblems(resource, null);
+ if (diagnostic.getSeverity() != Diagnostic.OK) {
+ resourceToDiagnosticMap.put(resource, diagnostic);
+ }
+ else {
+ resourceToDiagnosticMap.remove(resource);
+ }
- if (updateProblemIndication) {
- getSite().getShell().getDisplay().asyncExec(
- new Runnable() {
- public void run() {
- updateProblemIndication();
- }
- });
+ if (updateProblemIndication) {
+ getSite().getShell().getDisplay().asyncExec
+ (new Runnable() {
+ public void run() {
+ updateProblemIndication();
+ }
+ });
+ }
+ break;
+ }
}
- break;
}
+ else {
+ super.notifyChanged(notification);
}
- } else {
- super.notifyChanged(notification);
}
- }
- @Override
- protected void setTarget(Resource target) {
- basicSetTarget(target);
- }
+ @Override
+ protected void setTarget(Resource target) {
+ basicSetTarget(target);
+ }
- @Override
- protected void unsetTarget(Resource target) {
- basicUnsetTarget(target);
- }
- };
+ @Override
+ protected void unsetTarget(Resource target) {
+ basicUnsetTarget(target);
+ }
+ };
/**
- * This listens for workspace changes. <!-- begin-user-doc --> <!--
+ * This listens for workspace changes.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
protected IResourceChangeListener resourceChangeListener = new IResourceChangeListener() {
- public void resourceChanged(IResourceChangeEvent event) {
- IResourceDelta delta = event.getDelta();
- try {
- class ResourceDeltaVisitor implements IResourceDeltaVisitor {
- protected ResourceSet resourceSet = editingDomain
- .getResourceSet();
- protected Collection<Resource> changedResources = new ArrayList<Resource>();
- protected Collection<Resource> removedResources = new ArrayList<Resource>();
+ public void resourceChanged(IResourceChangeEvent event) {
+ IResourceDelta delta = event.getDelta();
+ try {
+ class ResourceDeltaVisitor implements IResourceDeltaVisitor {
+ protected ResourceSet resourceSet = editingDomain.getResourceSet();
+ protected Collection<Resource> changedResources = new ArrayList<Resource>();
+ protected Collection<Resource> removedResources = new ArrayList<Resource>();
- public boolean visit(IResourceDelta delta) {
- if (delta.getResource().getType() == IResource.FILE) {
- if (delta.getKind() == IResourceDelta.REMOVED
- || delta.getKind() == IResourceDelta.CHANGED
- && delta.getFlags() != IResourceDelta.MARKERS) {
- Resource resource = resourceSet.getResource(URI
- .createURI(delta.getFullPath()
- .toString()), false);
- if (resource != null) {
- if (delta.getKind() == IResourceDelta.REMOVED) {
- removedResources.add(resource);
- } else if (!savedResources.remove(resource)) {
- changedResources.add(resource);
+ public boolean visit(IResourceDelta delta) {
+ if (delta.getResource().getType() == IResource.FILE) {
+ if (delta.getKind() == IResourceDelta.REMOVED ||
+ delta.getKind() == IResourceDelta.CHANGED && delta.getFlags() != IResourceDelta.MARKERS) {
+ Resource resource = resourceSet.getResource(URI.createPlatformResourceURI(delta.getFullPath().toString(), true), false);
+ if (resource != null) {
+ if (delta.getKind() == IResourceDelta.REMOVED) {
+ removedResources.add(resource);
+ }
+ else if (!savedResources.remove(resource)) {
+ changedResources.add(resource);
+ }
}
}
}
+
+ return true;
}
- return true;
- }
+ public Collection<Resource> getChangedResources() {
+ return changedResources;
+ }
- public Collection<Resource> getChangedResources() {
- return changedResources;
+ public Collection<Resource> getRemovedResources() {
+ return removedResources;
+ }
}
- public Collection<Resource> getRemovedResources() {
- return removedResources;
- }
- }
+ final ResourceDeltaVisitor visitor = new ResourceDeltaVisitor();
+ delta.accept(visitor);
- ResourceDeltaVisitor visitor = new ResourceDeltaVisitor();
- delta.accept(visitor);
-
- if (!visitor.getRemovedResources().isEmpty()) {
- removedResources.addAll(visitor.getRemovedResources());
- if (!isDirty()) {
- getSite().getShell().getDisplay().asyncExec(
- new Runnable() {
- public void run() {
- getSite().getPage().closeEditor(
- FrascatiEditor.this, false);
- }
- });
+ if (!visitor.getRemovedResources().isEmpty()) {
+ getSite().getShell().getDisplay().asyncExec
+ (new Runnable() {
+ public void run() {
+ removedResources.addAll(visitor.getRemovedResources());
+ if (!isDirty()) {
+ getSite().getPage().closeEditor(FrascatiEditor.this, false);
+ }
+ }
+ });
}
- }
- if (!visitor.getChangedResources().isEmpty()) {
- changedResources.addAll(visitor.getChangedResources());
- if (getSite().getPage().getActiveEditor() == FrascatiEditor.this) {
- getSite().getShell().getDisplay().asyncExec(
- new Runnable() {
- public void run() {
- handleActivate();
- }
- });
+ if (!visitor.getChangedResources().isEmpty()) {
+ getSite().getShell().getDisplay().asyncExec
+ (new Runnable() {
+ public void run() {
+ changedResources.addAll(visitor.getChangedResources());
+ if (getSite().getPage().getActiveEditor() == FrascatiEditor.this) {
+ handleActivate();
+ }
+ }
+ });
}
}
- } catch (CoreException exception) {
- FrascatiEditorPlugin.INSTANCE.log(exception);
+ catch (CoreException exception) {
+ FrascatiEditorPlugin.INSTANCE.log(exception);
+ }
}
- }
- };
+ };
/**
* Handles activation of the editor or it's associated views. <!--
@@ -508,22 +496,24 @@
// Recompute the read only state.
//
if (editingDomain.getResourceToReadOnlyMap() != null) {
- editingDomain.getResourceToReadOnlyMap().clear();
+ editingDomain.getResourceToReadOnlyMap().clear();
- // Refresh any actions that may become enabled or disabled.
- //
- setSelection(getSelection());
+ // Refresh any actions that may become enabled or disabled.
+ //
+ setSelection(getSelection());
}
if (!removedResources.isEmpty()) {
if (handleDirtyConflict()) {
getSite().getPage().closeEditor(FrascatiEditor.this, false);
- } else {
+ }
+ else {
removedResources.clear();
changedResources.clear();
savedResources.clear();
}
- } else if (!changedResources.isEmpty()) {
+ }
+ else if (!changedResources.isEmpty()) {
changedResources.removeAll(savedResources);
handleChangedResources();
changedResources.clear();
@@ -538,11 +528,9 @@
* @generated
*/
protected void handleChangedResources() {
- if (!changedResources.isEmpty()
- && (!isDirty() || handleDirtyConflict())) {
+ if (!changedResources.isEmpty() && (!isDirty() || handleDirtyConflict())) {
if (isDirty()) {
- changedResources.addAll(editingDomain.getResourceSet()
- .getResources());
+ changedResources.addAll(editingDomain.getResourceSet().getResources());
}
editingDomain.getCommandStack().flush();
@@ -552,11 +540,10 @@
resource.unload();
try {
resource.load(Collections.EMPTY_MAP);
- } catch (IOException exception) {
+ }
+ catch (IOException exception) {
if (!resourceToDiagnosticMap.containsKey(resource)) {
- resourceToDiagnosticMap
- .put(resource, analyzeResourceProblems(
- resource, exception));
+ resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));
}
}
}
@@ -572,17 +559,20 @@
}
/**
- * Updates the problems indication with the information described in the
- * specified diagnostic. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Updates the problems indication with the information described in the specified diagnostic.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("nls")
protected void updateProblemIndication() {
if (updateProblemIndication) {
- BasicDiagnostic diagnostic = new BasicDiagnostic(Diagnostic.OK,
- "org.eclipse.stp.sca.domainmodel.frascati.editor", 0, null,
- new Object[] { editingDomain.getResourceSet() });
+ BasicDiagnostic diagnostic =
+ new BasicDiagnostic
+ (Diagnostic.OK,
+ "org.eclipse.stp.sca.domainmodel.frascati.editor",
+ 0,
+ null,
+ new Object [] { editingDomain.getResourceSet() });
for (Diagnostic childDiagnostic : resourceToDiagnosticMap.values()) {
if (childDiagnostic.getSeverity() != Diagnostic.OK) {
diagnostic.add(childDiagnostic);
@@ -590,24 +580,23 @@
}
int lastEditorPage = getPageCount() - 1;
- if (lastEditorPage >= 0
- && getEditor(lastEditorPage) instanceof ProblemEditorPart) {
- ((ProblemEditorPart) getEditor(lastEditorPage))
- .setDiagnostic(diagnostic);
+ if (lastEditorPage >= 0 && getEditor(lastEditorPage) instanceof ProblemEditorPart) {
+ ((ProblemEditorPart)getEditor(lastEditorPage)).setDiagnostic(diagnostic);
if (diagnostic.getSeverity() != Diagnostic.OK) {
setActivePage(lastEditorPage);
}
- } else if (diagnostic.getSeverity() != Diagnostic.OK) {
+ }
+ else if (diagnostic.getSeverity() != Diagnostic.OK) {
ProblemEditorPart problemEditorPart = new ProblemEditorPart();
problemEditorPart.setDiagnostic(diagnostic);
problemEditorPart.setMarkerHelper(markerHelper);
try {
- addPage(++lastEditorPage, problemEditorPart,
- getEditorInput());
+ addPage(++lastEditorPage, problemEditorPart, getEditorInput());
setPageText(lastEditorPage, problemEditorPart.getPartName());
setActivePage(lastEditorPage);
showTabs();
- } catch (PartInitException exception) {
+ }
+ catch (PartInitException exception) {
FrascatiEditorPlugin.INSTANCE.log(exception);
}
}
@@ -617,7 +606,8 @@
if (diagnostic.getSeverity() != Diagnostic.OK) {
try {
markerHelper.createMarkers(diagnostic);
- } catch (CoreException exception) {
+ }
+ catch (CoreException exception) {
FrascatiEditorPlugin.INSTANCE.log(exception);
}
}
@@ -633,9 +623,11 @@
*/
@SuppressWarnings("nls")
protected boolean handleDirtyConflict() {
- return MessageDialog.openQuestion(getSite().getShell(),
- getString("_UI_FileConflict_label"),
- getString("_WARN_FileConflict"));
+ return
+ MessageDialog.openQuestion
+ (getSite().getShell(),
+ getString("_UI_FileConflict_label"),
+ getString("_WARN_FileConflict"));
}
/**
@@ -650,70 +642,60 @@
}
/**
- * This sets up the editing domain for the model editor. <!-- begin-user-doc
+ * This sets up the editing domain for the model editor.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
protected void initializeEditingDomain() {
// Create an adapter factory that yields item providers.
//
- adapterFactory = new ComposedAdapterFactory(
- ComposedAdapterFactory.Descriptor.Registry.INSTANCE);
+ adapterFactory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE);
- adapterFactory
- .addAdapterFactory(new ResourceItemProviderAdapterFactory());
- adapterFactory
- .addAdapterFactory(new FrascatiItemProviderAdapterFactory());
+ adapterFactory.addAdapterFactory(new ResourceItemProviderAdapterFactory());
+ adapterFactory.addAdapterFactory(new FrascatiItemProviderAdapterFactory());
adapterFactory.addAdapterFactory(new ScaItemProviderAdapterFactory());
- adapterFactory
- .addAdapterFactory(new PolicyItemProviderAdapterFactory());
- adapterFactory
- .addAdapterFactory(new InstanceItemProviderAdapterFactory());
- adapterFactory
- .addAdapterFactory(new ReflectiveItemProviderAdapterFactory());
+ adapterFactory.addAdapterFactory(new PolicyItemProviderAdapterFactory());
+ adapterFactory.addAdapterFactory(new InstanceItemProviderAdapterFactory());
+ adapterFactory.addAdapterFactory(new ReflectiveItemProviderAdapterFactory());
- // Create the command stack that will notify this editor as commands are
- // executed.
+ // Create the command stack that will notify this editor as commands are executed.
//
BasicCommandStack commandStack = new BasicCommandStack();
- // Add a listener to set the most recent command's affected objects to
- // be the selection of the viewer with focus.
+ // Add a listener to set the most recent command's affected objects to be the selection of the viewer with focus.
//
- commandStack.addCommandStackListener(new CommandStackListener() {
- public void commandStackChanged(final EventObject event) {
- getContainer().getDisplay().asyncExec(new Runnable() {
- public void run() {
- firePropertyChange(IEditorPart.PROP_DIRTY);
+ commandStack.addCommandStackListener
+ (new CommandStackListener() {
+ public void commandStackChanged(final EventObject event) {
+ getContainer().getDisplay().asyncExec
+ (new Runnable() {
+ public void run() {
+ firePropertyChange(IEditorPart.PROP_DIRTY);
- // Try to select the affected objects.
- //
- Command mostRecentCommand = ((CommandStack) event
- .getSource()).getMostRecentCommand();
- if (mostRecentCommand != null) {
- setSelectionToViewer(mostRecentCommand
- .getAffectedObjects());
- }
- if (propertySheetPage != null
- && !propertySheetPage.getControl().isDisposed()) {
- propertySheetPage.refresh();
- }
- }
- });
- }
- });
+ // Try to select the affected objects.
+ //
+ Command mostRecentCommand = ((CommandStack)event.getSource()).getMostRecentCommand();
+ if (mostRecentCommand != null) {
+ setSelectionToViewer(mostRecentCommand.getAffectedObjects());
+ }
+ if (propertySheetPage != null && !propertySheetPage.getControl().isDisposed()) {
+ propertySheetPage.refresh();
+ }
+ }
+ });
+ }
+ });
// Create the editing domain with a special command stack.
//
- editingDomain = new AdapterFactoryEditingDomain(adapterFactory,
- commandStack, new HashMap<Resource, Boolean>());
+ editingDomain = new AdapterFactoryEditingDomain(adapterFactory, commandStack, new HashMap<Resource, Boolean>());
}
/**
- * This is here for the listener to be able to call it. <!-- begin-user-doc
+ * This is here for the listener to be able to call it.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -732,34 +714,25 @@
// Make sure it's okay.
//
if (theSelection != null && !theSelection.isEmpty()) {
- // I don't know if this should be run this deferred
- // because we might have to give the editor a chance to process the
- // viewer update events
- // and hence to update the views first.
- //
- //
- Runnable runnable = new Runnable() {
- public void run() {
- // Try to select the items in the current content viewer of
- // the editor.
- //
- if (currentViewer != null) {
- currentViewer.setSelection(new StructuredSelection(
- theSelection.toArray()), true);
+ Runnable runnable =
+ new Runnable() {
+ public void run() {
+ // Try to select the items in the current content viewer of the editor.
+ //
+ if (currentViewer != null) {
+ currentViewer.setSelection(new StructuredSelection(theSelection.toArray()), true);
+ }
}
- }
- };
- runnable.run();
+ };
+ getSite().getShell().getDisplay().asyncExec(runnable);
}
}
/**
- * This returns the editing domain as required by the
- * {@link IEditingDomainProvider} interface. This is important for
- * implementing the static methods of {@link AdapterFactoryEditingDomain}
+ * This returns the editing domain as required by the {@link IEditingDomainProvider} interface.
+ * This is important for implementing the static methods of {@link AdapterFactoryEditingDomain}
* and for supporting {@link org.eclipse.emf.edit.ui.action.CommandAction}.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EditingDomain getEditingDomain() {
@@ -768,14 +741,12 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public class ReverseAdapterFactoryContentProvider extends
AdapterFactoryContentProvider {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public ReverseAdapterFactoryContentProvider(
@@ -785,31 +756,26 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
- public Object[] getElements(Object object) {
+ public Object [] getElements(Object object) {
Object parent = super.getParent(object);
- return (parent == null ? Collections.EMPTY_SET : Collections
- .singleton(parent)).toArray();
+ return (parent == null ? Collections.EMPTY_SET : Collections.singleton(parent)).toArray();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
- public Object[] getChildren(Object object) {
+ public Object [] getChildren(Object object) {
Object parent = super.getParent(object);
- return (parent == null ? Collections.EMPTY_SET : Collections
- .singleton(parent)).toArray();
+ return (parent == null ? Collections.EMPTY_SET : Collections.singleton(parent)).toArray();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -820,7 +786,6 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -831,7 +796,6 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setCurrentViewerPane(ViewerPane viewerPane) {
@@ -858,22 +822,20 @@
if (selectionChangedListener == null) {
// Create the listener on demand.
//
- selectionChangedListener = new ISelectionChangedListener() {
- // This just notifies those things that are affected by the
- // section.
- //
- public void selectionChanged(
- SelectionChangedEvent selectionChangedEvent) {
- setSelection(selectionChangedEvent.getSelection());
- }
- };
+ selectionChangedListener =
+ new ISelectionChangedListener() {
+ // This just notifies those things that are affected by the section.
+ //
+ public void selectionChanged(SelectionChangedEvent selectionChangedEvent) {
+ setSelection(selectionChangedEvent.getSelection());
+ }
+ };
}
// Stop listening to the old one.
//
if (currentViewer != null) {
- currentViewer
- .removeSelectionChangedListener(selectionChangedListener);
+ currentViewer.removeSelectionChangedListener(selectionChangedListener);
}
// Start listening to the new one.
@@ -886,18 +848,15 @@
//
currentViewer = viewer;
- // Set the editors selection based on the current viewer's
- // selection.
+ // Set the editors selection based on the current viewer's selection.
//
- setSelection(currentViewer == null ? StructuredSelection.EMPTY
- : currentViewer.getSelection());
+ setSelection(currentViewer == null ? StructuredSelection.EMPTY : currentViewer.getSelection());
}
}
/**
- * This returns the viewer as required by the {@link IViewerProvider}
- * interface. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This returns the viewer as required by the {@link IViewerProvider} interface.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public Viewer getViewer() {
@@ -905,10 +864,9 @@
}
/**
- * This creates a context menu for the viewer and adds a listener as well
- * registering the menu for extension. <!-- begin-user-doc --> <!--
+ * This creates a context menu for the viewer and adds a listener as well registering the menu for extension.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("nls")
@@ -917,24 +875,20 @@
contextMenu.add(new Separator("additions"));
contextMenu.setRemoveAllWhenShown(true);
contextMenu.addMenuListener(this);
- Menu menu = contextMenu.createContextMenu(viewer.getControl());
+ Menu menu= contextMenu.createContextMenu(viewer.getControl());
viewer.getControl().setMenu(menu);
- getSite().registerContextMenu(contextMenu,
- new UnwrappingSelectionProvider(viewer));
+ getSite().registerContextMenu(contextMenu, new UnwrappingSelectionProvider(viewer));
int dndOperations = DND.DROP_COPY | DND.DROP_MOVE | DND.DROP_LINK;
Transfer[] transfers = new Transfer[] { LocalTransfer.getInstance() };
- viewer.addDragSupport(dndOperations, transfers, new ViewerDragAdapter(
- viewer));
- viewer.addDropSupport(dndOperations, transfers,
- new EditingDomainViewerDropAdapter(editingDomain, viewer));
+ viewer.addDragSupport(dndOperations, transfers, new ViewerDragAdapter(viewer));
+ viewer.addDropSupport(dndOperations, transfers, new EditingDomainViewerDropAdapter(editingDomain, viewer));
}
/**
- * This is the method called to load a resource into the editing domain's
- * resource set based on the editor's input. <!-- begin-user-doc --> <!--
+ * This is the method called to load a resource into the editing domain's resource set based on the editor's input.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public void createModel() {
@@ -944,52 +898,51 @@
try {
// Load the resource through the editing domain.
//
- resource = editingDomain.getResourceSet().getResource(resourceURI,
- true);
- } catch (Exception e) {
+ resource = editingDomain.getResourceSet().getResource(resourceURI, true);
+ }
+ catch (Exception e) {
exception = e;
- resource = editingDomain.getResourceSet().getResource(resourceURI,
- false);
+ resource = editingDomain.getResourceSet().getResource(resourceURI, false);
}
Diagnostic diagnostic = analyzeResourceProblems(resource, exception);
if (diagnostic.getSeverity() != Diagnostic.OK) {
- resourceToDiagnosticMap.put(resource, analyzeResourceProblems(
- resource, exception));
+ resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));
}
- editingDomain.getResourceSet().eAdapters()
- .add(problemIndicationAdapter);
+ editingDomain.getResourceSet().eAdapters().add(problemIndicationAdapter);
}
/**
- * Returns a diagnostic describing the errors and warnings listed in the
- * resource and the specified exception (if any). <!-- begin-user-doc -->
+ * Returns a diagnostic describing the errors and warnings listed in the resource
+ * and the specified exception (if any).
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("nls")
public Diagnostic analyzeResourceProblems(Resource resource,
Exception exception) {
- if (!resource.getErrors().isEmpty()
- || !resource.getWarnings().isEmpty()) {
- BasicDiagnostic basicDiagnostic = new BasicDiagnostic(
- Diagnostic.ERROR,
- "org.eclipse.stp.sca.domainmodel.frascati.editor",
- 0,
- getString("_UI_CreateModelError_message", resource.getURI()),
- new Object[] { exception == null ? (Object) resource
- : exception });
+ if (!resource.getErrors().isEmpty() || !resource.getWarnings().isEmpty()) {
+ BasicDiagnostic basicDiagnostic =
+ new BasicDiagnostic
+ (Diagnostic.ERROR,
+ "org.eclipse.stp.sca.domainmodel.frascati.editor",
+ 0,
+ getString("_UI_CreateModelError_message", resource.getURI()),
+ new Object [] { exception == null ? (Object)resource : exception });
basicDiagnostic.merge(EcoreUtil.computeDiagnostic(resource, true));
return basicDiagnostic;
- } else if (exception != null) {
- return new BasicDiagnostic(
- Diagnostic.ERROR,
- "org.eclipse.stp.sca.domainmodel.frascati.editor",
- 0,
- getString("_UI_CreateModelError_message", resource.getURI()),
- new Object[] { exception });
- } else {
+ }
+ else if (exception != null) {
+ return
+ new BasicDiagnostic
+ (Diagnostic.ERROR,
+ "org.eclipse.stp.sca.domainmodel.frascati.editor",
+ 0,
+ getString("_UI_CreateModelError_message", resource.getURI()),
+ new Object[] { exception });
+ }
+ else {
return Diagnostic.OK_INSTANCE;
}
}
@@ -997,7 +950,6 @@
/**
* This is the method used by the framework to install your own controls.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -1013,39 +965,31 @@
// Create a page for the selection tree view.
//
{
- ViewerPane viewerPane = new ViewerPane(getSite().getPage(),
- FrascatiEditor.this) {
- @Override
- public Viewer createViewer(Composite composite) {
- Tree tree = new Tree(composite, SWT.MULTI);
- TreeViewer newTreeViewer = new TreeViewer(tree);
- return newTreeViewer;
- }
-
- @Override
- public void requestActivation() {
- super.requestActivation();
- setCurrentViewerPane(this);
- }
- };
+ ViewerPane viewerPane =
+ new ViewerPane(getSite().getPage(), FrascatiEditor.this) {
+ @Override
+ public Viewer createViewer(Composite composite) {
+ Tree tree = new Tree(composite, SWT.MULTI);
+ TreeViewer newTreeViewer = new TreeViewer(tree);
+ return newTreeViewer;
+ }
+ @Override
+ public void requestActivation() {
+ super.requestActivation();
+ setCurrentViewerPane(this);
+ }
+ };
viewerPane.createControl(getContainer());
- selectionViewer = (TreeViewer) viewerPane.getViewer();
- selectionViewer
- .setContentProvider(new AdapterFactoryContentProvider(
- adapterFactory));
+ selectionViewer = (TreeViewer)viewerPane.getViewer();
+ selectionViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
- selectionViewer
- .setLabelProvider(new AdapterFactoryLabelProvider(
- adapterFactory));
+ selectionViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
selectionViewer.setInput(editingDomain.getResourceSet());
- selectionViewer.setSelection(new StructuredSelection(
- editingDomain.getResourceSet().getResources().get(0)),
- true);
+ selectionViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true);
viewerPane.setTitle(editingDomain.getResourceSet());
- new AdapterFactoryTreeEditor(selectionViewer.getTree(),
- adapterFactory);
+ new AdapterFactoryTreeEditor(selectionViewer.getTree(), adapterFactory);
createContextMenuFor(selectionViewer);
int pageIndex = addPage(viewerPane.getControl());
@@ -1055,30 +999,26 @@
// Create a page for the parent tree view.
//
{
- ViewerPane viewerPane = new ViewerPane(getSite().getPage(),
- FrascatiEditor.this) {
- @Override
- public Viewer createViewer(Composite composite) {
- Tree tree = new Tree(composite, SWT.MULTI);
- TreeViewer newTreeViewer = new TreeViewer(tree);
- return newTreeViewer;
- }
-
- @Override
- public void requestActivation() {
- super.requestActivation();
- setCurrentViewerPane(this);
- }
- };
+ ViewerPane viewerPane =
+ new ViewerPane(getSite().getPage(), FrascatiEditor.this) {
+ @Override
+ public Viewer createViewer(Composite composite) {
+ Tree tree = new Tree(composite, SWT.MULTI);
+ TreeViewer newTreeViewer = new TreeViewer(tree);
+ return newTreeViewer;
+ }
+ @Override
+ public void requestActivation() {
+ super.requestActivation();
+ setCurrentViewerPane(this);
+ }
+ };
viewerPane.createControl(getContainer());
- parentViewer = (TreeViewer) viewerPane.getViewer();
+ parentViewer = (TreeViewer)viewerPane.getViewer();
parentViewer.setAutoExpandLevel(30);
- parentViewer
- .setContentProvider(new ReverseAdapterFactoryContentProvider(
- adapterFactory));
- parentViewer.setLabelProvider(new AdapterFactoryLabelProvider(
- adapterFactory));
+ parentViewer.setContentProvider(new ReverseAdapterFactoryContentProvider(adapterFactory));
+ parentViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
createContextMenuFor(parentViewer);
int pageIndex = addPage(viewerPane.getControl());
@@ -1088,26 +1028,22 @@
// This is the page for the list viewer
//
{
- ViewerPane viewerPane = new ViewerPane(getSite().getPage(),
- FrascatiEditor.this) {
- @Override
- public Viewer createViewer(Composite composite) {
- return new ListViewer(composite);
- }
-
- @Override
- public void requestActivation() {
- super.requestActivation();
- setCurrentViewerPane(this);
- }
- };
+ ViewerPane viewerPane =
+ new ViewerPane(getSite().getPage(), FrascatiEditor.this) {
+ @Override
+ public Viewer createViewer(Composite composite) {
+ return new ListViewer(composite);
+ }
+ @Override
+ public void requestActivation() {
+ super.requestActivation();
+ setCurrentViewerPane(this);
+ }
+ };
viewerPane.createControl(getContainer());
- listViewer = (ListViewer) viewerPane.getViewer();
- listViewer
- .setContentProvider(new AdapterFactoryContentProvider(
- adapterFactory));
- listViewer.setLabelProvider(new AdapterFactoryLabelProvider(
- adapterFactory));
+ listViewer = (ListViewer)viewerPane.getViewer();
+ listViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
+ listViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
createContextMenuFor(listViewer);
int pageIndex = addPage(viewerPane.getControl());
@@ -1117,29 +1053,24 @@
// This is the page for the tree viewer
//
{
- ViewerPane viewerPane = new ViewerPane(getSite().getPage(),
- FrascatiEditor.this) {
- @Override
- public Viewer createViewer(Composite composite) {
- return new TreeViewer(composite);
- }
-
- @Override
- public void requestActivation() {
- super.requestActivation();
- setCurrentViewerPane(this);
- }
- };
+ ViewerPane viewerPane =
+ new ViewerPane(getSite().getPage(), FrascatiEditor.this) {
+ @Override
+ public Viewer createViewer(Composite composite) {
+ return new TreeViewer(composite);
+ }
+ @Override
+ public void requestActivation() {
+ super.requestActivation();
+ setCurrentViewerPane(this);
+ }
+ };
viewerPane.createControl(getContainer());
- treeViewer = (TreeViewer) viewerPane.getViewer();
- treeViewer
- .setContentProvider(new AdapterFactoryContentProvider(
- adapterFactory));
- treeViewer.setLabelProvider(new AdapterFactoryLabelProvider(
- adapterFactory));
+ treeViewer = (TreeViewer)viewerPane.getViewer();
+ treeViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
+ treeViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
- new AdapterFactoryTreeEditor(treeViewer.getTree(),
- adapterFactory);
+ new AdapterFactoryTreeEditor(treeViewer.getTree(), adapterFactory);
createContextMenuFor(treeViewer);
int pageIndex = addPage(viewerPane.getControl());
@@ -1149,21 +1080,20 @@
// This is the page for the table viewer.
//
{
- ViewerPane viewerPane = new ViewerPane(getSite().getPage(),
- FrascatiEditor.this) {
- @Override
- public Viewer createViewer(Composite composite) {
- return new TableViewer(composite);
- }
-
- @Override
- public void requestActivation() {
- super.requestActivation();
- setCurrentViewerPane(this);
- }
- };
+ ViewerPane viewerPane =
+ new ViewerPane(getSite().getPage(), FrascatiEditor.this) {
+ @Override
+ public Viewer createViewer(Composite composite) {
+ return new TableViewer(composite);
+ }
+ @Override
+ public void requestActivation() {
+ super.requestActivation();
+ setCurrentViewerPane(this);
+ }
+ };
viewerPane.createControl(getContainer());
- tableViewer = (TableViewer) viewerPane.getViewer();
+ tableViewer = (TableViewer)viewerPane.getViewer();
Table table = tableViewer.getTable();
TableLayout layout = new TableLayout();
@@ -1181,12 +1111,9 @@
selfColumn.setText(getString("_UI_SelfColumn_label"));
selfColumn.setResizable(true);
- tableViewer.setColumnProperties(new String[] { "a", "b" });
- tableViewer
- .setContentProvider(new AdapterFactoryContentProvider(
- adapterFactory));
- tableViewer.setLabelProvider(new AdapterFactoryLabelProvider(
- adapterFactory));
+ tableViewer.setColumnProperties(new String [] {"a", "b"});
+ tableViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
+ tableViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
createContextMenuFor(tableViewer);
int pageIndex = addPage(viewerPane.getControl());
@@ -1196,22 +1123,21 @@
// This is the page for the table tree viewer.
//
{
- ViewerPane viewerPane = new ViewerPane(getSite().getPage(),
- FrascatiEditor.this) {
- @Override
- public Viewer createViewer(Composite composite) {
- return new TreeViewer(composite);
- }
-
- @Override
- public void requestActivation() {
- super.requestActivation();
- setCurrentViewerPane(this);
- }
- };
+ ViewerPane viewerPane =
+ new ViewerPane(getSite().getPage(), FrascatiEditor.this) {
+ @Override
+ public Viewer createViewer(Composite composite) {
+ return new TreeViewer(composite);
+ }
+ @Override
+ public void requestActivation() {
+ super.requestActivation();
+ setCurrentViewerPane(this);
+ }
+ };
viewerPane.createControl(getContainer());
- treeViewerWithColumns = (TreeViewer) viewerPane.getViewer();
+ treeViewerWithColumns = (TreeViewer)viewerPane.getViewer();
Tree tree = treeViewerWithColumns.getTree();
tree.setLayoutData(new FillLayout());
@@ -1228,55 +1154,51 @@
selfColumn.setResizable(true);
selfColumn.setWidth(200);
- treeViewerWithColumns.setColumnProperties(new String[] { "a",
- "b" });
- treeViewerWithColumns
- .setContentProvider(new AdapterFactoryContentProvider(
- adapterFactory));
- treeViewerWithColumns
- .setLabelProvider(new AdapterFactoryLabelProvider(
- adapterFactory));
+ treeViewerWithColumns.setColumnProperties(new String [] {"a", "b"});
+ treeViewerWithColumns.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
+ treeViewerWithColumns.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
createContextMenuFor(treeViewerWithColumns);
int pageIndex = addPage(viewerPane.getControl());
- setPageText(pageIndex,
- getString("_UI_TreeWithColumnsPage_label"));
+ setPageText(pageIndex, getString("_UI_TreeWithColumnsPage_label"));
}
- getSite().getShell().getDisplay().asyncExec(new Runnable() {
- public void run() {
- setActivePage(0);
- }
- });
+ getSite().getShell().getDisplay().asyncExec
+ (new Runnable() {
+ public void run() {
+ setActivePage(0);
+ }
+ });
}
// Ensures that this editor will only display the page's tab
// area if there are more than one page
//
- getContainer().addControlListener(new ControlAdapter() {
- boolean guard = false;
-
- @Override
- public void controlResized(ControlEvent event) {
- if (!guard) {
- guard = true;
- hideTabs();
- guard = false;
+ getContainer().addControlListener
+ (new ControlAdapter() {
+ boolean guard = false;
+ @Override
+ public void controlResized(ControlEvent event) {
+ if (!guard) {
+ guard = true;
+ hideTabs();
+ guard = false;
+ }
}
- }
- });
+ });
- getSite().getShell().getDisplay().asyncExec(new Runnable() {
- public void run() {
- updateProblemIndication();
- }
- });
+ getSite().getShell().getDisplay().asyncExec
+ (new Runnable() {
+ public void run() {
+ updateProblemIndication();
+ }
+ });
}
/**
- * If there is just one page in the multi-page editor part, this hides the
- * single tab at the bottom. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * If there is just one page in the multi-page editor part,
+ * this hides the single tab at the bottom.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("nls")
@@ -1284,7 +1206,7 @@
if (getPageCount() <= 1) {
setPageText(0, "");
if (getContainer() instanceof CTabFolder) {
- ((CTabFolder) getContainer()).setTabHeight(1);
+ ((CTabFolder)getContainer()).setTabHeight(1);
Point point = getContainer().getSize();
getContainer().setSize(point.x, point.y + 6);
}
@@ -1292,9 +1214,9 @@
}
/**
- * If there is more than one page in the multi-page editor part, this shows
- * the tabs at the bottom. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * If there is more than one page in the multi-page editor part,
+ * this shows the tabs at the bottom.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("nls")
@@ -1302,7 +1224,7 @@
if (getPageCount() > 1) {
setPageText(0, getString("_UI_SelectionPage_label"));
if (getContainer() instanceof CTabFolder) {
- ((CTabFolder) getContainer()).setTabHeight(SWT.DEFAULT);
+ ((CTabFolder)getContainer()).setTabHeight(SWT.DEFAULT);
Point point = getContainer().getSize();
getContainer().setSize(point.x, point.y - 6);
}
@@ -1310,9 +1232,9 @@
}
/**
- * This is used to track the active viewer. <!-- begin-user-doc --> <!--
+ * This is used to track the active viewer.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
@Override
@@ -1335,11 +1257,14 @@
public Object getAdapter(Class key) {
if (key.equals(IContentOutlinePage.class)) {
return showOutlineView() ? getContentOutlinePage() : null;
- } else if (key.equals(IPropertySheetPage.class)) {
+ }
+ else if (key.equals(IPropertySheetPage.class)) {
return getPropertySheetPage();
- } else if (key.equals(IGotoMarker.class)) {
+ }
+ else if (key.equals(IGotoMarker.class)) {
return this;
- } else {
+ }
+ else {
return super.getAdapter(key);
}
}
@@ -1363,44 +1288,31 @@
// Set up the tree viewer.
//
- contentOutlineViewer
- .setContentProvider(new AdapterFactoryContentProvider(
- adapterFactory));
- contentOutlineViewer
- .setLabelProvider(new AdapterFactoryLabelProvider(
- adapterFactory));
- contentOutlineViewer.setInput(editingDomain
- .getResourceSet());
+ contentOutlineViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
+ contentOutlineViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
+ contentOutlineViewer.setInput(editingDomain.getResourceSet());
// Make sure our popups work.
//
createContextMenuFor(contentOutlineViewer);
- if (!editingDomain.getResourceSet().getResources()
- .isEmpty()) {
- // Select the root object in the view.
- //
- contentOutlineViewer
- .setSelection(new StructuredSelection(
- editingDomain.getResourceSet()
- .getResources().get(0)), true);
+ if (!editingDomain.getResourceSet().getResources().isEmpty()) {
+ // Select the root object in the view.
+ //
+ contentOutlineViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true);
}
}
@Override
- public void makeContributions(IMenuManager menuManager,
- IToolBarManager toolBarManager,
- IStatusLineManager statusLineManager) {
- super.makeContributions(menuManager, toolBarManager,
- statusLineManager);
+ public void makeContributions(IMenuManager menuManager, IToolBarManager toolBarManager, IStatusLineManager statusLineManager) {
+ super.makeContributions(menuManager, toolBarManager, statusLineManager);
contentOutlineStatusLineManager = statusLineManager;
}
@Override
public void setActionBars(IActionBars actionBars) {
super.setActionBars(actionBars);
- getActionBarContributor().shareGlobalActions(this,
- actionBars);
+ getActionBarContributor().shareGlobalActions(this, actionBars);
}
}
@@ -1408,67 +1320,61 @@
// Listen to selection so that we can handle it is a special way.
//
- contentOutlinePage
- .addSelectionChangedListener(new ISelectionChangedListener() {
- // This ensures that we handle selections correctly.
- //
- public void selectionChanged(SelectionChangedEvent event) {
- handleContentOutlineSelection(event.getSelection());
- }
- });
+ contentOutlinePage.addSelectionChangedListener
+ (new ISelectionChangedListener() {
+ // This ensures that we handle selections correctly.
+ //
+ public void selectionChanged(SelectionChangedEvent event) {
+ handleContentOutlineSelection(event.getSelection());
+ }
+ });
}
return contentOutlinePage;
}
/**
- * This accesses a cached version of the property sheet. <!-- begin-user-doc
+ * This accesses a cached version of the property sheet.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
public IPropertySheetPage getPropertySheetPage() {
if (propertySheetPage == null) {
- propertySheetPage = new ExtendedPropertySheetPage(editingDomain) {
- @Override
- public void setSelectionToViewer(List<?> selection) {
- FrascatiEditor.this.setSelectionToViewer(selection);
- FrascatiEditor.this.setFocus();
- }
+ propertySheetPage =
+ new ExtendedPropertySheetPage(editingDomain) {
+ @Override
+ public void setSelectionToViewer(List<?> selection) {
+ FrascatiEditor.this.setSelectionToViewer(selection);
+ FrascatiEditor.this.setFocus();
+ }
- @Override
- public void setActionBars(IActionBars actionBars) {
- super.setActionBars(actionBars);
- getActionBarContributor().shareGlobalActions(this,
- actionBars);
- }
- };
- propertySheetPage
- .setPropertySourceProvider(new AdapterFactoryContentProvider(
- adapterFactory));
+ @Override
+ public void setActionBars(IActionBars actionBars) {
+ super.setActionBars(actionBars);
+ getActionBarContributor().shareGlobalActions(this, actionBars);
+ }
+ };
+ propertySheetPage.setPropertySourceProvider(new AdapterFactoryContentProvider(adapterFactory));
}
return propertySheetPage;
}
/**
- * This deals with how we want selection in the outliner to affect the other
- * views. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This deals with how we want selection in the outliner to affect the other views.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public void handleContentOutlineSelection(ISelection selection) {
- if (currentViewerPane != null && !selection.isEmpty()
- && selection instanceof IStructuredSelection) {
- Iterator<?> selectedElements = ((IStructuredSelection) selection)
- .iterator();
+ if (currentViewerPane != null && !selection.isEmpty() && selection instanceof IStructuredSelection) {
+ Iterator<?> selectedElements = ((IStructuredSelection)selection).iterator();
if (selectedElements.hasNext()) {
// Get the first selected element.
//
Object selectedElement = selectedElements.next();
- // If it's the selection viewer, then we want it to select the
- // same selection as this selection.
+ // If it's the selection viewer, then we want it to select the same selection as this selection.
//
if (currentViewerPane.getViewer() == selectionViewer) {
ArrayList<Object> selectionList = new ArrayList<Object>();
@@ -1479,9 +1385,9 @@
// Set the selection to the widget.
//
- selectionViewer.setSelection(new StructuredSelection(
- selectionList));
- } else {
+ selectionViewer.setSelection(new StructuredSelection(selectionList));
+ }
+ else {
// Set the input to the widget.
//
if (currentViewerPane.getViewer().getInput() != selectedElement) {
@@ -1494,21 +1400,18 @@
}
/**
- * This is for implementing {@link IEditorPart} and simply tests the command
- * stack. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This is for implementing {@link IEditorPart} and simply tests the command stack.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
public boolean isDirty() {
- return ((BasicCommandStack) editingDomain.getCommandStack())
- .isSaveNeeded();
+ return ((BasicCommandStack)editingDomain.getCommandStack()).isSaveNeeded();
}
/**
- * This is for implementing {@link IEditorPart} and simply saves the model
- * file. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This is for implementing {@link IEditorPart} and simply saves the model file.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
@@ -1516,53 +1419,49 @@
// Save only resources that have actually changed.
//
final Map<Object, Object> saveOptions = new HashMap<Object, Object>();
- saveOptions.put(Resource.OPTION_SAVE_ONLY_IF_CHANGED,
- Resource.OPTION_SAVE_ONLY_IF_CHANGED_MEMORY_BUFFER);
+ saveOptions.put(Resource.OPTION_SAVE_ONLY_IF_CHANGED, Resource.OPTION_SAVE_ONLY_IF_CHANGED_MEMORY_BUFFER);
- // Do the work within an operation because this is a long running
- // activity that modifies the workbench.
+ // Do the work within an operation because this is a long running activity that modifies the workbench.
//
- WorkspaceModifyOperation operation = new WorkspaceModifyOperation() {
- // This is the method that gets invoked when the operation runs.
- //
- @Override
- public void execute(IProgressMonitor monitor) {
- // Save the resources to the file system.
+ WorkspaceModifyOperation operation =
+ new WorkspaceModifyOperation() {
+ // This is the method that gets invoked when the operation runs.
//
- boolean first = true;
- for (Resource resource : editingDomain.getResourceSet()
- .getResources()) {
- if ((first || !resource.getContents().isEmpty() || isPersisted(resource))
- && !editingDomain.isReadOnly(resource)) {
- try {
- long timeStamp = resource.getTimeStamp();
- resource.save(saveOptions);
- if (resource.getTimeStamp() != timeStamp) {
- savedResources.add(resource);
+ @Override
+ public void execute(IProgressMonitor monitor) {
+ // Save the resources to the file system.
+ //
+ boolean first = true;
+ for (Resource resource : editingDomain.getResourceSet().getResources()) {
+ if ((first || !resource.getContents().isEmpty() || isPersisted(resource)) && !editingDomain.isReadOnly(resource)) {
+ try {
+ long timeStamp = resource.getTimeStamp();
+ resource.save(saveOptions);
+ if (resource.getTimeStamp() != timeStamp) {
+ savedResources.add(resource);
+ }
}
- } catch (Exception exception) {
- resourceToDiagnosticMap
- .put(resource, analyzeResourceProblems(
- resource, exception));
+ catch (Exception exception) {
+ resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));
+ }
+ first = false;
}
- first = false;
}
}
- }
- };
+ };
updateProblemIndication = false;
try {
// This runs the options, and shows progress.
//
- new ProgressMonitorDialog(getSite().getShell()).run(true, false,
- operation);
+ new ProgressMonitorDialog(getSite().getShell()).run(true, false, operation);
// Refresh the necessary state.
//
- ((BasicCommandStack) editingDomain.getCommandStack()).saveIsDone();
+ ((BasicCommandStack)editingDomain.getCommandStack()).saveIsDone();
firePropertyChange(IEditorPart.PROP_DIRTY);
- } catch (Exception exception) {
+ }
+ catch (Exception exception) {
// Something went wrong that shouldn't.
//
FrascatiEditorPlugin.INSTANCE.log(exception);
@@ -1572,23 +1471,22 @@
}
/**
- * This returns whether something has been persisted to the URI of the
- * specified resource. The implementation uses the URI converter from the
- * editor's resource set to try to open an input stream. <!-- begin-user-doc
+ * This returns whether something has been persisted to the URI of the specified resource.
+ * The implementation uses the URI converter from the editor's resource set to try to open an input stream.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
protected boolean isPersisted(Resource resource) {
boolean result = false;
try {
- InputStream stream = editingDomain.getResourceSet()
- .getURIConverter().createInputStream(resource.getURI());
+ InputStream stream = editingDomain.getResourceSet().getURIConverter().createInputStream(resource.getURI());
if (stream != null) {
result = true;
stream.close();
}
- } catch (IOException e) {
+ }
+ catch (IOException e) {
// Ignore
}
return result;
@@ -1606,9 +1504,9 @@
}
/**
- * This also changes the editor's input. <!-- begin-user-doc --> <!--
+ * This also changes the editor's input.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
@Override
@@ -1619,49 +1517,44 @@
if (path != null) {
IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(path);
if (file != null) {
- doSaveAs(URI.createPlatformResourceURI(file.getFullPath()
- .toString(), true), new FileEditorInput(file));
+ doSaveAs(URI.createPlatformResourceURI(file.getFullPath().toString(), true), new FileEditorInput(file));
}
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected void doSaveAs(URI uri, IEditorInput editorInput) {
(editingDomain.getResourceSet().getResources().get(0)).setURI(uri);
setInputWithNotify(editorInput);
setPartName(editorInput.getName());
- IProgressMonitor progressMonitor = getActionBars()
- .getStatusLineManager() != null ? getActionBars()
- .getStatusLineManager().getProgressMonitor()
- : new NullProgressMonitor();
+ IProgressMonitor progressMonitor =
+ getActionBars().getStatusLineManager() != null ?
+ getActionBars().getStatusLineManager().getProgressMonitor() :
+ new NullProgressMonitor();
doSave(progressMonitor);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void gotoMarker(IMarker marker) {
try {
if (marker.getType().equals(EValidator.MARKER)) {
- String uriAttribute = marker.getAttribute(
- EValidator.URI_ATTRIBUTE, null);
+ String uriAttribute = marker.getAttribute(EValidator.URI_ATTRIBUTE, null);
if (uriAttribute != null) {
URI uri = URI.createURI(uriAttribute);
- EObject eObject = editingDomain.getResourceSet()
- .getEObject(uri, true);
+ EObject eObject = editingDomain.getResourceSet().getEObject(uri, true);
if (eObject != null) {
- setSelectionToViewer(Collections
- .singleton(editingDomain.getWrapper(eObject)));
+ setSelectionToViewer(Collections.singleton(editingDomain.getWrapper(eObject)));
}
}
}
- } catch (CoreException exception) {
+ }
+ catch (CoreException exception) {
FrascatiEditorPlugin.INSTANCE.log(exception);
}
}
@@ -1679,20 +1572,19 @@
setPartName(editorInput.getName());
site.setSelectionProvider(this);
site.getPage().addPartListener(partListener);
- ResourcesPlugin.getWorkspace().addResourceChangeListener(
- resourceChangeListener, IResourceChangeEvent.POST_CHANGE);
+ ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener, IResourceChangeEvent.POST_CHANGE);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void setFocus() {
if (currentViewerPane != null) {
currentViewerPane.setFocus();
- } else {
+ }
+ else {
getControl(getActivePage()).setFocus();
}
}
@@ -1700,7 +1592,6 @@
/**
* This implements {@link org.eclipse.jface.viewers.ISelectionProvider}.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void addSelectionChangedListener(ISelectionChangedListener listener) {
@@ -1710,7 +1601,6 @@
/**
* This implements {@link org.eclipse.jface.viewers.ISelectionProvider}.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void removeSelectionChangedListener(
@@ -1719,10 +1609,9 @@
}
/**
- * This implements {@link org.eclipse.jface.viewers.ISelectionProvider} to
- * return this editor's overall selection. <!-- begin-user-doc --> <!--
+ * This implements {@link org.eclipse.jface.viewers.ISelectionProvider} to return this editor's overall selection.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public ISelection getSelection() {
@@ -1730,59 +1619,49 @@
}
/**
- * This implements {@link org.eclipse.jface.viewers.ISelectionProvider} to
- * set this editor's overall selection. Calling this result will notify the
- * listeners. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This implements {@link org.eclipse.jface.viewers.ISelectionProvider} to set this editor's overall selection.
+ * Calling this result will notify the listeners.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public void setSelection(ISelection selection) {
editorSelection = selection;
for (ISelectionChangedListener listener : selectionChangedListeners) {
- listener
- .selectionChanged(new SelectionChangedEvent(this, selection));
+ listener.selectionChanged(new SelectionChangedEvent(this, selection));
}
setStatusLineManager(selection);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("nls")
public void setStatusLineManager(ISelection selection) {
- IStatusLineManager statusLineManager = currentViewer != null
- && currentViewer == contentOutlineViewer ? contentOutlineStatusLineManager
- : getActionBars().getStatusLineManager();
+ IStatusLineManager statusLineManager = currentViewer != null && currentViewer == contentOutlineViewer ?
+ contentOutlineStatusLineManager : getActionBars().getStatusLineManager();
if (statusLineManager != null) {
if (selection instanceof IStructuredSelection) {
- Collection<?> collection = ((IStructuredSelection) selection)
- .toList();
+ Collection<?> collection = ((IStructuredSelection)selection).toList();
switch (collection.size()) {
- case 0: {
- statusLineManager
- .setMessage(getString("_UI_NoObjectSelected"));
- break;
+ case 0: {
+ statusLineManager.setMessage(getString("_UI_NoObjectSelected"));
+ break;
+ }
+ case 1: {
+ String text = new AdapterFactoryItemDelegator(adapterFactory).getText(collection.iterator().next());
+ statusLineManager.setMessage(getString("_UI_SingleObjectSelected", text));
+ break;
+ }
+ default: {
+ statusLineManager.setMessage(getString("_UI_MultiObjectSelected", Integer.toString(collection.size())));
+ break;
+ }
}
- case 1: {
- String text = new AdapterFactoryItemDelegator(
- adapterFactory).getText(collection.iterator()
- .next());
- statusLineManager.setMessage(getString(
- "_UI_SingleObjectSelected", text));
- break;
- }
- default: {
- statusLineManager.setMessage(getString(
- "_UI_MultiObjectSelected", Integer
- .toString(collection.size())));
- break;
- }
- }
- } else {
+ }
+ else {
statusLineManager.setMessage("");
}
}
@@ -1805,8 +1684,7 @@
* @generated
*/
private static String getString(String key, Object s1) {
- return FrascatiEditorPlugin.INSTANCE
- .getString(key, new Object[] { s1 });
+ return FrascatiEditorPlugin.INSTANCE.getString(key, new Object [] { s1 });
}
/**
@@ -1817,23 +1695,19 @@
* @generated
*/
public void menuAboutToShow(IMenuManager menuManager) {
- ((IMenuListener) getEditorSite().getActionBarContributor())
- .menuAboutToShow(menuManager);
+ ((IMenuListener)getEditorSite().getActionBarContributor()).menuAboutToShow(menuManager);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EditingDomainActionBarContributor getActionBarContributor() {
- return (EditingDomainActionBarContributor) getEditorSite()
- .getActionBarContributor();
+ return (EditingDomainActionBarContributor)getEditorSite().getActionBarContributor();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public IActionBars getActionBars() {
@@ -1842,7 +1716,6 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public AdapterFactory getAdapterFactory() {
@@ -1851,15 +1724,13 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void dispose() {
updateProblemIndication = false;
- ResourcesPlugin.getWorkspace().removeResourceChangeListener(
- resourceChangeListener);
+ ResourcesPlugin.getWorkspace().removeResourceChangeListener(resourceChangeListener);
getSite().getPage().removePartListener(partListener);
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.editor/src/org/eclipse/stp/sca/domainmodel/frascati/presentation/FrascatiEditorPlugin.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.editor/src/org/eclipse/stp/sca/domainmodel/frascati/presentation/FrascatiEditorPlugin.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.editor/src/org/eclipse/stp/sca/domainmodel/frascati/presentation/FrascatiEditorPlugin.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -43,18 +43,21 @@
private static Implementation plugin;
/**
- * Create the instance. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Create the instance.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public FrascatiEditorPlugin() {
- super(new ResourceLocator[] { ScaEditPlugin.INSTANCE, });
+ super
+ (new ResourceLocator [] {
+ ScaEditPlugin.INSTANCE,
+ });
}
/**
- * Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @return the singleton instance.
* @generated
*/
@@ -64,9 +67,9 @@
}
/**
- * Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @return the singleton instance.
* @generated
*/
@@ -82,13 +85,13 @@
*/
public static class Implementation extends EclipseUIPlugin {
/**
- * Creates an instance. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Creates an instance.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public Implementation() {
super();
-
+
// Remember the static instance.
//
plugin = this;
Modified: org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.editor/src/org/eclipse/stp/sca/domainmodel/frascati/presentation/FrascatiModelWizard.java
===================================================================
--- org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.editor/src/org/eclipse/stp/sca/domainmodel/frascati/presentation/FrascatiModelWizard.java 2009-09-14 10:55:22 UTC (rev 3311)
+++ org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.frascati.editor/src/org/eclipse/stp/sca/domainmodel/frascati/presentation/FrascatiModelWizard.java 2009-09-14 14:29:44 UTC (rev 3312)
@@ -97,23 +97,20 @@
import org.eclipse.ui.PartInitException;
/**
- * This is a simple wizard for creating a new model file. <!-- begin-user-doc
+ * This is a simple wizard for creating a new model file.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
public class FrascatiModelWizard extends Wizard implements INewWizard {
/**
- * The supported extensions for created files. <!-- begin-user-doc --> <!--
+ * The supported extensions for created files.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("nls")
- public static final List<String> FILE_EXTENSIONS = Collections
- .unmodifiableList(Arrays.asList(FrascatiEditorPlugin.INSTANCE
- .getString("_UI_FrascatiEditorFilenameExtensions").split(
- "\\s*,\\s*")));
+ public static final List<String> FILE_EXTENSIONS = Collections.unmodifiableList(Arrays.asList(FrascatiEditorPlugin.INSTANCE.getString("_UI_FrascatiEditorFilenameExtensions").split("\\s*,\\s*")));
/**
* A formatted list of supported file extensions, suitable for display. <!--
@@ -122,26 +119,23 @@
* @generated
*/
@SuppressWarnings("nls")
- public static final String FORMATTED_FILE_EXTENSIONS = FrascatiEditorPlugin.INSTANCE
- .getString("_UI_FrascatiEditorFilenameExtensions").replaceAll(
- "\\s*,\\s*", ", ");
+ public static final String FORMATTED_FILE_EXTENSIONS = FrascatiEditorPlugin.INSTANCE.getString("_UI_FrascatiEditorFilenameExtensions").replaceAll("\\s*,\\s*", ", ");
/**
- * This caches an instance of the model package. <!-- begin-user-doc -->
+ * This caches an instance of the model package.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected FrascatiPackage frascatiPackage = FrascatiPackage.eINSTANCE;
/**
- * This caches an instance of the model factory. <!-- begin-user-doc -->
+ * This caches an instance of the model factory.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- protected FrascatiFactory frascatiFactory = frascatiPackage
- .getFrascatiFactory();
+ protected FrascatiFactory frascatiFactory = frascatiPackage.getFrascatiFactory();
/**
* This is the file creation page. <!-- begin-user-doc --> <!-- end-user-doc
@@ -152,25 +146,24 @@
protected FrascatiModelWizardNewFileCreationPage newFileCreationPage;
/**
- * This is the initial object creation page. <!-- begin-user-doc --> <!--
+ * This is the initial object creation page.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
protected FrascatiModelWizardInitialObjectCreationPage initialObjectCreationPage;
/**
- * Remember the selection during initialization for populating the default
- * container. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Remember the selection during initialization for populating the default container.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected IStructuredSelection selection;
/**
- * Remember the workbench during initialization. <!-- begin-user-doc -->
+ * Remember the workbench during initialization.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected IWorkbench workbench;
@@ -184,20 +177,17 @@
protected List<String> initialObjectNames;
/**
- * This just records the information. <!-- begin-user-doc --> <!--
+ * This just records the information.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("nls")
public void init(IWorkbench workbench, IStructuredSelection selection) {
this.workbench = workbench;
this.selection = selection;
- setWindowTitle(FrascatiEditorPlugin.INSTANCE
- .getString("_UI_Wizard_label"));
- setDefaultPageImageDescriptor(ExtendedImageRegistry.INSTANCE
- .getImageDescriptor(FrascatiEditorPlugin.INSTANCE
- .getImage("full/wizban/NewFrascati")));
+ setWindowTitle(FrascatiEditorPlugin.INSTANCE.getString("_UI_Wizard_label"));
+ setDefaultPageImageDescriptor(ExtendedImageRegistry.INSTANCE.getImageDescriptor(FrascatiEditorPlugin.INSTANCE.getImage("full/wizban/NewFrascati")));
}
/**
@@ -209,47 +199,39 @@
protected Collection<String> getInitialObjectNames() {
if (initialObjectNames == null) {
initialObjectNames = new ArrayList<String>();
- for (EStructuralFeature eStructuralFeature : ExtendedMetaData.INSTANCE
- .getAllElements(ExtendedMetaData.INSTANCE
- .getDocumentRoot(frascatiPackage))) {
+ for (EStructuralFeature eStructuralFeature : ExtendedMetaData.INSTANCE.getAllElements(ExtendedMetaData.INSTANCE.getDocumentRoot(frascatiPackage))) {
if (eStructuralFeature.isChangeable()) {
EClassifier eClassifier = eStructuralFeature.getEType();
if (eClassifier instanceof EClass) {
- EClass eClass = (EClass) eClassifier;
+ EClass eClass = (EClass)eClassifier;
if (!eClass.isAbstract()) {
- initialObjectNames
- .add(eStructuralFeature.getName());
+ initialObjectNames.add(eStructuralFeature.getName());
}
}
}
}
- Collections.sort(initialObjectNames, CommonPlugin.INSTANCE
- .getComparator());
+ Collections.sort(initialObjectNames, CommonPlugin.INSTANCE.getComparator());
}
return initialObjectNames;
}
/**
- * Create a new model. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Create a new model.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected EObject createInitialModel() {
- EClass eClass = ExtendedMetaData.INSTANCE
- .getDocumentRoot(frascatiPackage);
- EStructuralFeature eStructuralFeature = eClass
- .getEStructuralFeature(initialObjectCreationPage
- .getInitialObjectName());
+ EClass eClass = ExtendedMetaData.INSTANCE.getDocumentRoot(frascatiPackage);
+ EStructuralFeature eStructuralFeature = eClass.getEStructuralFeature(initialObjectCreationPage.getInitialObjectName());
EObject rootObject = frascatiFactory.create(eClass);
- rootObject.eSet(eStructuralFeature, EcoreUtil
- .create((EClass) eStructuralFeature.getEType()));
+ rootObject.eSet(eStructuralFeature, EcoreUtil.create((EClass)eStructuralFeature.getEType()));
return rootObject;
}
/**
- * Do the work after everything is specified. <!-- begin-user-doc --> <!--
+ * Do the work after everything is specified.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
@Override
@@ -262,95 +244,93 @@
// Do the work within an operation.
//
- WorkspaceModifyOperation operation = new WorkspaceModifyOperation() {
- @Override
- protected void execute(IProgressMonitor progressMonitor) {
- try {
- // Create a resource set
- //
- ResourceSet resourceSet = new ResourceSetImpl();
+ WorkspaceModifyOperation operation =
+ new WorkspaceModifyOperation() {
+ @Override
+ protected void execute(IProgressMonitor progressMonitor) {
+ try {
+ // Create a resource set
+ //
+ ResourceSet resourceSet = new ResourceSetImpl();
- // Get the URI of the model file.
- //
- URI fileURI = URI.createPlatformResourceURI(modelFile
- .getFullPath().toString(), true);
+ // Get the URI of the model file.
+ //
+ URI fileURI = URI.createPlatformResourceURI(modelFile.getFullPath().toString(), true);
- // Create a resource for this file.
- //
- Resource resource = resourceSet.createResource(fileURI);
+ // Create a resource for this file.
+ //
+ Resource resource = resourceSet.createResource(fileURI);
- // Add the initial model object to the contents.
- //
- EObject rootObject = createInitialModel();
- if (rootObject != null) {
- resource.getContents().add(rootObject);
- }
+ // Add the initial model object to the contents.
+ //
+ EObject rootObject = createInitialModel();
+ if (rootObject != null) {
+ resource.getContents().add(rootObject);
+ }
- // Save the contents of the resource to the file system.
- //
- Map<Object, Object> options = new HashMap<Object, Object>();
- options.put(XMLResource.OPTION_ENCODING,
- initialObjectCreationPage.getEncoding());
- resource.save(options);
- } catch (Exception exception) {
- FrascatiEditorPlugin.INSTANCE.log(exception);
- } finally {
- progressMonitor.done();
+ // Save the contents of the resource to the file system.
+ //
+ Map<Object, Object> options = new HashMap<Object, Object>();
+ options.put(XMLResource.OPTION_ENCODING, initialObjectCreationPage.getEncoding());
+ resource.save(options);
+ }
+ catch (Exception exception) {
+ FrascatiEditorPlugin.INSTANCE.log(exception);
+ }
+ finally {
+ progressMonitor.done();
+ }
}
- }
- };
+ };
getContainer().run(false, false, operation);
// Select the new file resource in the current view.
//
- IWorkbenchWindow workbenchWindow = workbench
- .getActiveWorkbenchWindow();
+ IWorkbenchWindow workbenchWindow = workbench.getActiveWorkbenchWindow();
IWorkbenchPage page = workbenchWindow.getActivePage();
final IWorkbenchPart activePart = page.getActivePart();
if (activePart instanceof ISetSelectionTarget) {
- final ISelection targetSelection = new StructuredSelection(
- modelFile);
- getShell().getDisplay().asyncExec(new Runnable() {
- public void run() {
- ((ISetSelectionTarget) activePart)
- .selectReveal(targetSelection);
- }
- });
+ final ISelection targetSelection = new StructuredSelection(modelFile);
+ getShell().getDisplay().asyncExec
+ (new Runnable() {
+ public void run() {
+ ((ISetSelectionTarget)activePart).selectReveal(targetSelection);
+ }
+ });
}
// Open an editor on the new file.
//
try {
- page.openEditor(new FileEditorInput(modelFile), workbench
- .getEditorRegistry().getDefaultEditor(
- modelFile.getFullPath().toString()).getId());
- } catch (PartInitException exception) {
- MessageDialog.openError(workbenchWindow.getShell(),
- FrascatiEditorPlugin.INSTANCE
- .getString("_UI_OpenEditorError_label"),
- exception.getMessage());
+ page.openEditor
+ (new FileEditorInput(modelFile),
+ workbench.getEditorRegistry().getDefaultEditor(modelFile.getFullPath().toString()).getId());
+ }
+ catch (PartInitException exception) {
+ MessageDialog.openError(workbenchWindow.getShell(), FrascatiEditorPlugin.INSTANCE.getString("_UI_OpenEditorError_label"), exception.getMessage());
return false;
}
return true;
- } catch (Exception exception) {
+ }
+ catch (Exception exception) {
FrascatiEditorPlugin.INSTANCE.log(exception);
return false;
}
}
/**
- * This is the one page of the wizard. <!-- begin-user-doc --> <!--
+ * This is the one page of the wizard.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public class FrascatiModelWizardNewFileCreationPage extends
WizardNewFileCreationPage {
/**
- * Pass in the selection. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Pass in the selection.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public FrascatiModelWizardNewFileCreationPage(String pageId,
@@ -370,10 +350,8 @@
if (super.validatePage()) {
String extension = new Path(getFileName()).getFileExtension();
if (extension == null || !FILE_EXTENSIONS.contains(extension)) {
- String key = FILE_EXTENSIONS.size() > 1 ? "_WARN_FilenameExtensions"
- : "_WARN_FilenameExtension";
- setErrorMessage(FrascatiEditorPlugin.INSTANCE.getString(
- key, new Object[] { FORMATTED_FILE_EXTENSIONS }));
+ String key = FILE_EXTENSIONS.size() > 1 ? "_WARN_FilenameExtensions" : "_WARN_FilenameExtension";
+ setErrorMessage(FrascatiEditorPlugin.INSTANCE.getString(key, new Object [] { FORMATTED_FILE_EXTENSIONS }));
return false;
}
return true;
@@ -383,12 +361,10 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public IFile getModelFile() {
- return ResourcesPlugin.getWorkspace().getRoot().getFile(
- getContainerFullPath().append(getFileName()));
+ return ResourcesPlugin.getWorkspace().getRoot().getFile(getContainerFullPath().append(getFileName()));
}
}
@@ -402,7 +378,6 @@
WizardPage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected Combo initialObjectField;
@@ -414,14 +389,13 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected Combo encodingField;
/**
- * Pass in the selection. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Pass in the selection.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public FrascatiModelWizardInitialObjectCreationPage(String pageId) {
@@ -430,13 +404,11 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("nls")
public void createControl(Composite parent) {
- Composite composite = new Composite(parent, SWT.NONE);
- {
+ Composite composite = new Composite(parent, SWT.NONE); {
GridLayout layout = new GridLayout();
layout.numColumns = 1;
layout.verticalSpacing = 12;
@@ -451,8 +423,7 @@
Label containerLabel = new Label(composite, SWT.LEFT);
{
- containerLabel.setText(FrascatiEditorPlugin.INSTANCE
- .getString("_UI_ModelObject"));
+ containerLabel.setText(FrascatiEditorPlugin.INSTANCE.getString("_UI_ModelObject"));
GridData data = new GridData();
data.horizontalAlignment = GridData.FILL;
@@ -478,8 +449,7 @@
Label encodingLabel = new Label(composite, SWT.LEFT);
{
- encodingLabel.setText(FrascatiEditorPlugin.INSTANCE
- .getString("_UI_XMLEncoding"));
+ encodingLabel.setText(FrascatiEditorPlugin.INSTANCE.getString("_UI_XMLEncoding"));
GridData data = new GridData();
data.horizontalAlignment = GridData.FILL;
@@ -506,28 +476,24 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected ModifyListener validator = new ModifyListener() {
- public void modifyText(ModifyEvent e) {
- setPageComplete(validatePage());
- }
- };
+ public void modifyText(ModifyEvent e) {
+ setPageComplete(validatePage());
+ }
+ };
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected boolean validatePage() {
- return getInitialObjectName() != null
- && getEncodings().contains(encodingField.getText());
+ return getInitialObjectName() != null && getEncodings().contains(encodingField.getText());
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -537,7 +503,8 @@
if (initialObjectField.getItemCount() == 1) {
initialObjectField.clearSelection();
encodingField.setFocus();
- } else {
+ }
+ else {
encodingField.clearSelection();
initialObjectField.setFocus();
}
@@ -546,7 +513,6 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getInitialObjectName() {
@@ -562,7 +528,6 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getEncoding() {
@@ -570,18 +535,17 @@
}
/**
- * Returns the label for the specified feature name. <!-- begin-user-doc
+ * Returns the label for the specified feature name.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("nls")
protected String getLabel(String featureName) {
try {
- return FrascatiEditPlugin.INSTANCE
- .getString("_UI_DocumentRoot_" + featureName
- + "_feature");
- } catch (MissingResourceException mre) {
+ return FrascatiEditPlugin.INSTANCE.getString("_UI_DocumentRoot_" + featureName + "_feature");
+ }
+ catch(MissingResourceException mre) {
FrascatiEditorPlugin.INSTANCE.log(mre);
}
return featureName;
@@ -589,17 +553,13 @@
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("nls")
protected Collection<String> getEncodings() {
if (encodings == null) {
encodings = new ArrayList<String>();
- for (StringTokenizer stringTokenizer = new StringTokenizer(
- FrascatiEditorPlugin.INSTANCE
- .getString("_UI_XMLEncodingChoices")); stringTokenizer
- .hasMoreTokens();) {
+ for (StringTokenizer stringTokenizer = new StringTokenizer(FrascatiEditorPlugin.INSTANCE.getString("_UI_XMLEncodingChoices")); stringTokenizer.hasMoreTokens(); ) {
encodings.add(stringTokenizer.nextToken());
}
}
@@ -618,19 +578,13 @@
public void addPages() {
// Create a page, set the title, and the initial model file name.
//
- newFileCreationPage = new FrascatiModelWizardNewFileCreationPage(
- "Whatever", selection);
- newFileCreationPage.setTitle(FrascatiEditorPlugin.INSTANCE
- .getString("_UI_FrascatiModelWizard_label"));
- newFileCreationPage.setDescription(FrascatiEditorPlugin.INSTANCE
- .getString("_UI_FrascatiModelWizard_description"));
- newFileCreationPage.setFileName(FrascatiEditorPlugin.INSTANCE
- .getString("_UI_FrascatiEditorFilenameDefaultBase")
- + "." + FILE_EXTENSIONS.get(0));
+ newFileCreationPage = new FrascatiModelWizardNewFileCreationPage("Whatever", selection);
+ newFileCreationPage.setTitle(FrascatiEditorPlugin.INSTANCE.getString("_UI_FrascatiModelWizard_label"));
+ newFileCreationPage.setDescription(FrascatiEditorPlugin.INSTANCE.getString("_UI_FrascatiModelWizard_description"));
+ newFileCreationPage.setFileName(FrascatiEditorPlugin.INSTANCE.getString("_UI_FrascatiEditorFilenameDefaultBase") + "." + FILE_EXTENSIONS.get(0));
addPage(newFileCreationPage);
- // Try and get the resource selection to determine a current directory
- // for the file dialog.
+ // Try and get the resource selection to determine a current directory for the file dialog.
//
if (selection != null && !selection.isEmpty()) {
// Get the resource...
@@ -639,49 +593,39 @@
if (selectedElement instanceof IResource) {
// Get the resource parent, if its a file.
//
- IResource selectedResource = (IResource) selectedElement;
+ IResource selectedResource = (IResource)selectedElement;
if (selectedResource.getType() == IResource.FILE) {
selectedResource = selectedResource.getParent();
}
// This gives us a directory...
//
- if (selectedResource instanceof IFolder
- || selectedResource instanceof IProject) {
+ if (selectedResource instanceof IFolder || selectedResource instanceof IProject) {
// Set this for the container.
//
- newFileCreationPage.setContainerFullPath(selectedResource
- .getFullPath());
+ newFileCreationPage.setContainerFullPath(selectedResource.getFullPath());
// Make up a unique new name here.
//
- String defaultModelBaseFilename = FrascatiEditorPlugin.INSTANCE
- .getString("_UI_FrascatiEditorFilenameDefaultBase");
- String defaultModelFilenameExtension = FILE_EXTENSIONS
- .get(0);
- String modelFilename = defaultModelBaseFilename + "."
- + defaultModelFilenameExtension;
- for (int i = 1; ((IContainer) selectedResource)
- .findMember(modelFilename) != null; ++i) {
- modelFilename = defaultModelBaseFilename + i + "."
- + defaultModelFilenameExtension;
+ String defaultModelBaseFilename = FrascatiEditorPlugin.INSTANCE.getString("_UI_FrascatiEditorFilenameDefaultBase");
+ String defaultModelFilenameExtension = FILE_EXTENSIONS.get(0);
+ String modelFilename = defaultModelBaseFilename + "." + defaultModelFilenameExtension;
+ for (int i = 1; ((IContainer)selectedResource).findMember(modelFilename) != null; ++i) {
+ modelFilename = defaultModelBaseFilename + i + "." + defaultModelFilenameExtension;
}
newFileCreationPage.setFileName(modelFilename);
}
}
}
- initialObjectCreationPage = new FrascatiModelWizardInitialObjectCreationPage(
- "Whatever2");
- initialObjectCreationPage.setTitle(FrascatiEditorPlugin.INSTANCE
- .getString("_UI_FrascatiModelWizard_label"));
- initialObjectCreationPage.setDescription(FrascatiEditorPlugin.INSTANCE
- .getString("_UI_Wizard_initial_object_description"));
+ initialObjectCreationPage = new FrascatiModelWizardInitialObjectCreationPage("Whatever2");
+ initialObjectCreationPage.setTitle(FrascatiEditorPlugin.INSTANCE.getString("_UI_FrascatiModelWizard_label"));
+ initialObjectCreationPage.setDescription(FrascatiEditorPlugin.INSTANCE.getString("_UI_Wizard_initial_object_description"));
addPage(initialObjectCreationPage);
}
/**
- * Get the file from the page. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Get the file from the page.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public IFile getModelFile() {