Commit 0a377a2f authored by Anton Hattendorf's avatar Anton Hattendorf
Browse files

added getAvalonMaster/getAvalonSlave handler

refs 733
parent e1e5c90c
......@@ -3,7 +3,13 @@
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="model"
nsURI="http://www.fortiss.org/af3/multicore" nsPrefix="org-fortiss-af3-multicore">
<eClassifiers xsi:type="ecore:EClass" name="NiosIICore" eSuperTypes="platform:/plugin/org.fortiss.af3.platform/model/platform.ecore#//IPlatformArchitectureElement platform:/plugin/org.fortiss.af3.platform/model/platform.ecore#//ExecutionUnit"/>
<eClassifiers xsi:type="ecore:EClass" name="NiosIICore" eSuperTypes="platform:/plugin/org.fortiss.af3.platform/model/platform.ecore#//IPlatformArchitectureElement platform:/plugin/org.fortiss.af3.platform/model/platform.ecore#//ExecutionUnit">
<eOperations name="getAvalonMasters" upperBound="-1" eType="#//AvalonMaster">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return org.fortiss.tooling.kernel.utils.EcoreUtils.pickInstanceOf(&#xA; AvalonMaster.class, getConnectorsList());"/>
</eAnnotations>
</eOperations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AvalonConnector" eSuperTypes="platform:/plugin/org.fortiss.af3.platform/model/platform.ecore#//Transceiver"/>
<eClassifiers xsi:type="ecore:EClass" name="AvalonMaster" eSuperTypes="#//AvalonConnector"/>
<eClassifiers xsi:type="ecore:EClass" name="AvalonSlave" eSuperTypes="#//AvalonConnector"/>
......@@ -16,5 +22,11 @@
</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">
<eOperations name="getAvalonSlaves" upperBound="-1" eType="#//AvalonSlave">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return org.fortiss.tooling.kernel.utils.EcoreUtils.pickInstanceOf(&#xA; AvalonSlave.class, getConnectorsList());"/>
</eAnnotations>
</eOperations>
</eClassifiers>
</ecore:EPackage>
......@@ -7,7 +7,9 @@
<foreignModel>multicore.ecore</foreignModel>
<genPackages prefix="AF3Multicore" basePackage="org.fortiss.af3.multicore" disposableProviderFactory="true"
ecorePackage="multicore.ecore#/">
<genClasses ecoreClass="multicore.ecore#//NiosIICore"/>
<genClasses ecoreClass="multicore.ecore#//NiosIICore">
<genOperations ecoreOperation="multicore.ecore#//NiosIICore/getAvalonMasters"/>
</genClasses>
<genClasses ecoreClass="multicore.ecore#//AvalonConnector"/>
<genClasses ecoreClass="multicore.ecore#//AvalonMaster"/>
<genClasses ecoreClass="multicore.ecore#//AvalonSlave"/>
......@@ -16,6 +18,8 @@
<genClasses ecoreClass="multicore.ecore#//AvalonBus">
<genOperations ecoreOperation="multicore.ecore#//AvalonBus/getAvalonConnectors"/>
</genClasses>
<genClasses ecoreClass="multicore.ecore#//Memory"/>
<genClasses ecoreClass="multicore.ecore#//Memory">
<genOperations ecoreOperation="multicore.ecore#//Memory/getAvalonSlaves"/>
</genClasses>
</genPackages>
</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