Commit c5206802 authored by Daniel Ratiu's avatar Daniel Ratiu
Browse files

code cleaning, adding a wrapper for AvalonBus

refs 733
parent 221ec4f4
...@@ -9,6 +9,12 @@ ...@@ -9,6 +9,12 @@
<eClassifiers xsi:type="ecore:EClass" name="AvalonSlave" eSuperTypes="#//AvalonConnector"/> <eClassifiers xsi:type="ecore:EClass" name="AvalonSlave" eSuperTypes="#//AvalonConnector"/>
<eClassifiers xsi:type="ecore:EClass" name="AvalonMasterIF" eSuperTypes="#//AvalonConnector"/> <eClassifiers xsi:type="ecore:EClass" name="AvalonMasterIF" eSuperTypes="#//AvalonConnector"/>
<eClassifiers xsi:type="ecore:EClass" name="AvalonSlaveIF" eSuperTypes="#//AvalonConnector"/> <eClassifiers xsi:type="ecore:EClass" name="AvalonSlaveIF" eSuperTypes="#//AvalonConnector"/>
<eClassifiers xsi:type="ecore:EClass" name="AvalonBus" eSuperTypes="platform:/plugin/org.fortiss.af3.platform/model/platform.ecore#//TransmissionUnit platform:/plugin/org.fortiss.af3.platform/model/platform.ecore#//IPlatformArchitectureElement"/> <eClassifiers xsi:type="ecore:EClass" name="AvalonBus" eSuperTypes="platform:/plugin/org.fortiss.af3.platform/model/platform.ecore#//TransmissionUnit platform:/plugin/org.fortiss.af3.platform/model/platform.ecore#//IPlatformArchitectureElement">
<eOperations name="getAvalonConnectors" upperBound="-1" eType="#//AvalonConnector">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return org.fortiss.tooling.kernel.utils.EcoreUtils.pickInstanceOf(&#xA; AvalonConnector.class, getConnectorsList());"/>
</eAnnotations>
</eOperations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Memory" eSuperTypes="platform:/plugin/org.fortiss.af3.platform/model/platform.ecore#//IPlatformArchitectureElement"/> <eClassifiers xsi:type="ecore:EClass" name="Memory" eSuperTypes="platform:/plugin/org.fortiss.af3.platform/model/platform.ecore#//IPlatformArchitectureElement"/>
</ecore:EPackage> </ecore:EPackage>
...@@ -13,7 +13,9 @@ ...@@ -13,7 +13,9 @@
<genClasses ecoreClass="multicore.ecore#//AvalonSlave"/> <genClasses ecoreClass="multicore.ecore#//AvalonSlave"/>
<genClasses ecoreClass="multicore.ecore#//AvalonMasterIF"/> <genClasses ecoreClass="multicore.ecore#//AvalonMasterIF"/>
<genClasses ecoreClass="multicore.ecore#//AvalonSlaveIF"/> <genClasses ecoreClass="multicore.ecore#//AvalonSlaveIF"/>
<genClasses ecoreClass="multicore.ecore#//AvalonBus"/> <genClasses ecoreClass="multicore.ecore#//AvalonBus">
<genOperations ecoreOperation="multicore.ecore#//AvalonBus/getAvalonConnectors"/>
</genClasses>
<genClasses ecoreClass="multicore.ecore#//Memory"/> <genClasses ecoreClass="multicore.ecore#//Memory"/>
</genPackages> </genPackages>
</genmodel:GenModel> </genmodel:GenModel>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment