Hello all,
i have made a metamodel and generated the corresponding editor. My
problem is that all model objects represented graphicaly by an edge are
not saved in the xmi file. What is wrong with my models ?
Thank you
Vincent
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/RIO/src"
modelPluginID="CRIO" modelName="Crio" importerID="org.eclipse.emf.importer.ecore"
complianceLevel="5.0" copyrightFields="false">
<foreignModel>crio.ecore</foreignModel>
<genPackages prefix="Crio" basePackage="fr.utbm.set.janeiro" disposableProviderFactory="true"
ecorePackage="crio.ecore#/">
<genClasses ecoreClass="crio.ecore#//Role">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference crio.ecore#//Role/originOf"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference crio.ecore#//Role/destinationOf"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference crio.ecore#//Role/attributes"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference crio.ecore#//Role/operations"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference crio.ecore#//Role/behaviour"/>
</genClasses>
<genClasses ecoreClass="crio.ecore#//Organisation">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference crio.ecore#//Organisation/roles"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference crio.ecore#//Organisation/interactions"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference crio.ecore#//Organisation/provides"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference crio.ecore#//Organisation/types"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference crio.ecore#//Organisation/contains"/>
</genClasses>
<genClasses ecoreClass="crio.ecore#//Interaction">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference crio.ecore#//Interaction/origin"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference crio.ecore#//Interaction/destinations"/>
</genClasses>
<genClasses ecoreClass="crio.ecore#//Capacity"/>
<genClasses ecoreClass="crio.ecore#//Attribute">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference crio.ecore#//Attribute/type"/>
</genClasses>
<genClasses ecoreClass="crio.ecore#//Operation">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference crio.ecore#//Operation/returnType"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference crio.ecore#//Operation/parameters"/>
</genClasses>
<genClasses ecoreClass="crio.ecore#//Behaviour"/>
<genClasses ecoreClass="crio.ecore#//CrioType"/>
<genClasses ecoreClass="crio.ecore#//OrganisationElement">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute crio.ecore#//OrganisationElement/name"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference crio.ecore#//OrganisationElement/organisation"/>
</genClasses>
<genClasses ecoreClass="crio.ecore#//CapacityRequirement">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference crio.ecore#//CapacityRequirement/subject"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference crio.ecore#//CapacityRequirement/requires"/>
</genClasses>
</genPackages>
</genmodel:GenModel>
<?xml version="1.0" encoding="ASCII"?>
<diagramconfigurator:DiagramConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:diagramconfigurator="http://www.topcased.org/diagramconfigurator/0.10" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmi:id="_jlzesDIBEd2Jqv-ie2SWCw" projectName="fr.utbm.set.janeiro.diagram" name="CRIO Diagram" package="fr.utbm.set.janeiro.diagram" prefix="CRIO">
<palette xmi:id="_jlzesTIBEd2Jqv-ie2SWCw" name="Tools">
<paletteCategories xmi:id="_jlzesjIBEd2Jqv-ie2SWCw" name="Objects">
<items xmi:id="_jlzeszIBEd2Jqv-ie2SWCw" name="Role" part="_jlzeuTIBEd2Jqv-ie2SWCw"/>
<items xmi:id="_jlzetDIBEd2Jqv-ie2SWCw" name="Capacity" part="_jlzeujIBEd2Jqv-ie2SWCw"/>
<items xmi:id="_jlzetTIBEd2Jqv-ie2SWCw" name="Organisation" part="_jlzeuDIBEd2Jqv-ie2SWCw"/>
</paletteCategories>
<paletteCategories xmi:id="_jlzetjIBEd2Jqv-ie2SWCw" name="Link">
<items xmi:id="_jlzetzIBEd2Jqv-ie2SWCw" name="Interaction" part="_jl0FwDIBEd2Jqv-ie2SWCw"/>
<items xmi:id="_xA3aIDMIEd2q3LE9PCKwpg" name="Requires" part="_kSitYTMIEd2q3LE9PCKwpg"/>
</paletteCategories>
</palette>
<parts xsi:type="diagramconfigurator:NodePartConfiguration" xmi:id="_jlzeuDIBEd2Jqv-ie2SWCw" object="_jl0FwzIBEd2Jqv-ie2SWCw" type="Package" childElements="_jlzeuTIBEd2Jqv-ie2SWCw _jlzeujIBEd2Jqv-ie2SWCw" container="true" maximumWidth="800" maximumHeight="800"/>
<parts xsi:type="diagramconfigurator:NodePartConfiguration" xmi:id="_jlzeuTIBEd2Jqv-ie2SWCw" object="_jl0FxDIBEd2Jqv-ie2SWCw" type="Class"/>
<parts xsi:type="diagramconfigurator:NodePartConfiguration" xmi:id="_jlzeujIBEd2Jqv-ie2SWCw" object="_jl0FxjIBEd2Jqv-ie2SWCw" type="Class"/>
<parts xsi:type="diagramconfigurator:EdgePartConfiguration" xmi:id="_jl0FwDIBEd2Jqv-ie2SWCw" object="_jl0FxTIBEd2Jqv-ie2SWCw" targetDecoration="ARROW">
<sourceTargetCouple xmi:id="_jl0FwTIBEd2Jqv-ie2SWCw" containerType="DIAGRAM" autoRef="true" reversible="true" sourceNode="_jlzeuTIBEd2Jqv-ie2SWCw" targetNode="_jlzeuTIBEd2Jqv-ie2SWCw">
<containerObject href="crio.genmodel#//crio/Organisation"/>
<containerRef xsi:type="ecore:EReference" href="crio.ecore#//Organisation/interactions"/>
<refSourceToEdge xsi:type="ecore:EReference" href="crio.ecore#//Role/originOf"/>
<refEdgeToSource xsi:type="ecore:EReference" href="crio.ecore#//Interaction/origin"/>
<refTargetToEdge xsi:type="ecore:EReference" href="crio.ecore#//Role/destinationOf"/>
<refEdgeToTarget xsi:type="ecore:EReference" href="crio.ecore#//Interaction/destinations"/>
</sourceTargetCouple>
</parts>
<parts xsi:type="diagramconfigurator:EdgePartConfiguration" xmi:id="_kSitYTMIEd2q3LE9PCKwpg" object="_syHXMDMHEd2N-po1Bmtgzw" lineWidth="2" lineStyle="DOT" targetDecoration="ARROW">
<sourceTargetCouple xmi:id="_rwnogDMIEd2q3LE9PCKwpg" containerType="DIAGRAM" sourceNode="_jlzeuTIBEd2Jqv-ie2SWCw" targetNode="_jlzeujIBEd2Jqv-ie2SWCw">
<containerObject href="crio.genmodel#//crio/Organisation"/>
<containerRef xsi:type="ecore:EReference" href="crio.ecore#//Organisation/contains"/>
<refEdgeToSource xsi:type="ecore:EReference" href="crio.ecore#//CapacityRequirement/subject"/>
<refEdgeToTarget xsi:type="ecore:EReference" href="crio.ecore#//CapacityRequirement/requires"/>
</sourceTargetCouple>
</parts>
<objects xsi:type="diagramconfigurator:ModelObjectConfiguration" xmi:id="_jl0FwzIBEd2Jqv-ie2SWCw">
<genClass href="crio.genmodel#//crio/Organisation"/>
</objects>
<objects xsi:type="diagramconfigurator:ModelObjectConfiguration" xmi:id="_jl0FxDIBEd2Jqv-ie2SWCw">
<genClass href="crio.genmodel#//crio/Role"/>
</objects>
<objects xsi:type="diagramconfigurator:ModelObjectConfiguration" xmi:id="_jl0FxTIBEd2Jqv-ie2SWCw">
<genClass href="crio.genmodel#//crio/Interaction"/>
</objects>
<objects xsi:type="diagramconfigurator:ModelObjectConfiguration" xmi:id="_jl0FxjIBEd2Jqv-ie2SWCw">
<genClass href="crio.genmodel#//crio/Capacity"/>
</objects>
<objects xsi:type="diagramconfigurator:ModelObjectConfiguration" xmi:id="_syHXMDMHEd2N-po1Bmtgzw">
<genClass href="crio.genmodel#//crio/CapacityRequirement"/>
</objects>
<genModel href="crio.genmodel#/"/>
<templateRootObject href="crio.genmodel#//crio/OrganisationElement"/>
<editorConfigurator href="crio.editorconfigurator#_VECLcTIOEd21QsJnCRu3lg"/>
</diagramconfigurator:DiagramConfiguration>
<?xml version="1.0" encoding="UTF-8"?>
<editorconfigurator:EditorConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:editorconfigurator="http://www.topcased.org/editorconfigurator/0.10" xmi:id="_VECLcTIOEd21QsJnCRu3lg" name="CRIO Editor" projectName="fr.utbm.set.janeiro" forceOverwrite="true">
<genModel href="crio.genmodel#/"/>
</editorconfigurator:EditorConfiguration>
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users