Commit e456c2b7 authored by Erwan Bousse's avatar Erwan Bousse
Browse files

Commiting changes that don't work well :(

parent 06a7e2c3

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>AB</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>
eclipse.preferences.version=1
encoding//model/AB.ecorediag=UTF-8
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: AB;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Export-Package: ab,
ab.impl,
ab.util
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.ecore;visibility:=reexport,
fr.inria.diverse.cloning.cloner;bundle-version="0.1.0"
Bundle-ActivationPolicy: lazy
#
bin.includes = .,\
model/,\
META-INF/,\
plugin.xml,\
plugin.properties
jars.compile.order = .
source.. = src/
output.. = bin/
<?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="ab" nsURI="http://ab/1.0" nsPrefix="ab">
<eClassifiers xsi:type="ecore:EClass" name="A">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="i" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="j_m" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="b" upperBound="-1" eType="#//B"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="B">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="x" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eClassifiers>
</ecore:EPackage>
<?xml version="1.0" encoding="UTF-8"?>
<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmi:id="_TBXxIKRnEeOVGtnhicWxFw" type="EcoreTools" measurementUnit="Pixel">
<children xmi:type="notation:Node" xmi:id="_TBa0cKRnEeOVGtnhicWxFw" type="1001">
<children xmi:type="notation:Node" xmi:id="_TBbbgKRnEeOVGtnhicWxFw" type="4001"/>
<children xmi:type="notation:Node" xmi:id="_TBbbgaRnEeOVGtnhicWxFw" type="5001">
<children xmi:type="notation:Node" xmi:id="_TBcCkKRnEeOVGtnhicWxFw" type="2001">
<element xmi:type="ecore:EAttribute" href="AB.ecore#//A/i"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_TBcCkaRnEeOVGtnhicWxFw"/>
</children>
<children xmi:type="notation:Node" xmi:id="_TBcpoKRnEeOVGtnhicWxFw" type="2001">
<element xmi:type="ecore:EAttribute" href="AB.ecore#//A/j_m"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_TBcpoaRnEeOVGtnhicWxFw"/>
</children>
<styles xmi:type="notation:DrawerStyle" xmi:id="_TBbbgqRnEeOVGtnhicWxFw"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_TBbbg6RnEeOVGtnhicWxFw"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_TBbbhKRnEeOVGtnhicWxFw"/>
</children>
<children xmi:type="notation:Node" xmi:id="_TBbbhaRnEeOVGtnhicWxFw" type="5002">
<styles xmi:type="notation:DrawerStyle" xmi:id="_TBbbhqRnEeOVGtnhicWxFw"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_TBbbh6RnEeOVGtnhicWxFw"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_TBbbiKRnEeOVGtnhicWxFw"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_TBa0caRnEeOVGtnhicWxFw" fontColor="4210752" fontName="Cantarell" fontHeight="10" fillColor="13761016" lineColor="8421504"/>
<element xmi:type="ecore:EClass" href="AB.ecore#//A"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_TBa0cqRnEeOVGtnhicWxFw" y="115"/>
</children>
<children xmi:type="notation:Node" xmi:id="_TBcpoqRnEeOVGtnhicWxFw" type="1001">
<children xmi:type="notation:Node" xmi:id="_TBcppaRnEeOVGtnhicWxFw" type="4001"/>
<children xmi:type="notation:Node" xmi:id="_TBdQsKRnEeOVGtnhicWxFw" type="5001">
<children xmi:type="notation:Node" xmi:id="_TBdQuKRnEeOVGtnhicWxFw" type="2001">
<element xmi:type="ecore:EAttribute" href="AB.ecore#//B/x"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_TBdQuaRnEeOVGtnhicWxFw"/>
</children>
<styles xmi:type="notation:DrawerStyle" xmi:id="_TBdQsaRnEeOVGtnhicWxFw"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_TBdQsqRnEeOVGtnhicWxFw"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_TBdQs6RnEeOVGtnhicWxFw"/>
</children>
<children xmi:type="notation:Node" xmi:id="_TBdQtKRnEeOVGtnhicWxFw" type="5002">
<styles xmi:type="notation:DrawerStyle" xmi:id="_TBdQtaRnEeOVGtnhicWxFw"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_TBdQtqRnEeOVGtnhicWxFw"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_TBdQt6RnEeOVGtnhicWxFw"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_TBcpo6RnEeOVGtnhicWxFw" fontColor="4210752" fontName="Cantarell" fontHeight="10" fillColor="13761016" lineColor="8421504"/>
<element xmi:type="ecore:EClass" href="AB.ecore#//B"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_TBcppKRnEeOVGtnhicWxFw"/>
</children>
<styles xmi:type="notation:DiagramStyle" xmi:id="_TBXxIaRnEeOVGtnhicWxFw"/>
<element xmi:type="ecore:EPackage" href="AB.ecore#/"/>
<edges xmi:type="notation:Edge" xmi:id="_TBdQuqRnEeOVGtnhicWxFw" type="3002" source="_TBa0cKRnEeOVGtnhicWxFw" target="_TBcpoqRnEeOVGtnhicWxFw">
<children xmi:type="notation:Node" xmi:id="_TBd3wKRnEeOVGtnhicWxFw" type="4011">
<layoutConstraint xmi:type="notation:Location" xmi:id="_TBd3waRnEeOVGtnhicWxFw" x="-10" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_TBd3wqRnEeOVGtnhicWxFw" type="4012">
<layoutConstraint xmi:type="notation:Location" xmi:id="_TBd3w6RnEeOVGtnhicWxFw" x="10" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_TBdQu6RnEeOVGtnhicWxFw" lineColor="4210752"/>
<styles xmi:type="notation:FontStyle" xmi:id="_TBdQvKRnEeOVGtnhicWxFw" fontColor="4210752" fontName="Cantarell" fontHeight="10"/>
<element xmi:type="ecore:EReference" href="AB.ecore#//A/b"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_TBdQvaRnEeOVGtnhicWxFw" points="[0, 0, 0, 60]$[0, -60, 0, 0]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_TBtIUKRnEeOVGtnhicWxFw" id="(0.5,0.0)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_TBtIUaRnEeOVGtnhicWxFw" id="(0.5,1.0)"/>
</edges>
</notation:Diagram>
<?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="/AB/src" modelPluginID="AB" modelName="AB" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0" copyrightFields="false"
operationReflection="true" importOrganizing="true">
<foreignModel>../../SomeMetamodel/tmp/AB.ecore</foreignModel>
<genPackages prefix="Ab" disposableProviderFactory="true" ecorePackage="AB.ecore#/">
<genClasses ecoreClass="AB.ecore#//A">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute AB.ecore#//A/i"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute AB.ecore#//A/j_m"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference AB.ecore#//A/b"/>
</genClasses>
<genClasses ecoreClass="AB.ecore#//B">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute AB.ecore#//B/x"/>
</genClasses>
</genPackages>
</genmodel:GenModel>
#
pluginName = AB Model
providerName = www.example.org
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
-->
<plugin>
<extension point="org.eclipse.emf.ecore.generated_package">
<!-- @generated AB -->
<package
uri="http://ab/1.0"
class="ab.AbPackage"
genModel="model/AB.genmodel"/>
</extension>
</plugin>
/**
*/
package ab;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>A</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link ab.A#getI <em>I</em>}</li>
* <li>{@link ab.A#getJ_m <em>Jm</em>}</li>
* <li>{@link ab.A#getB <em>B</em>}</li>
* </ul>
* </p>
*
* @see ab.AbPackage#getA()
* @model
* @generated
*/
public interface A extends EObject {
/**
* Returns the value of the '<em><b>I</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>I</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>I</em>' attribute.
* @see #setI(int)
* @see ab.AbPackage#getA_I()
* @model
* @generated
*/
int getI();
/**
* Sets the value of the '{@link ab.A#getI <em>I</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>I</em>' attribute.
* @see #getI()
* @generated
*/
void setI(int value);
/**
* Returns the value of the '<em><b>Jm</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Jm</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Jm</em>' attribute.
* @see #setJ_m(int)
* @see ab.AbPackage#getA_J_m()
* @model
* @generated
*/
int getJ_m();
/**
* Sets the value of the '{@link ab.A#getJ_m <em>Jm</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Jm</em>' attribute.
* @see #getJ_m()
* @generated
*/
void setJ_m(int value);
/**
* Returns the value of the '<em><b>B</b></em>' containment reference list.
* The list contents are of type {@link ab.B}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>B</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>B</em>' containment reference list.
* @see ab.AbPackage#getA_B()
* @model containment="true"
* @generated
*/
EList<B> getB();
} // A
/**
*/
package ab;
import org.eclipse.emf.ecore.EFactory;
/**
* <!-- 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 ab.AbPackage
* @generated
*/
public interface AbFactory extends EFactory {
/**
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
AbFactory eINSTANCE = ab.impl.AbFactoryImpl.init();
/**
* Returns a new object of class '<em>A</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>A</em>'.
* @generated
*/
A createA();
/**
* Returns a new object of class '<em>B</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>B</em>'.
* @generated
*/
B createB();
/**
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the package supported by this factory.
* @generated
*/
AbPackage getAbPackage();
} //AbFactory
/**
*/
package ab;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
/**
* <!-- begin-user-doc -->
* The <b>Package</b> for the model.
* It contains accessors for the meta objects to represent
* <ul>
* <li>each class,</li>
* <li>each feature of each class,</li>
* <li>each operation of each class,</li>
* <li>each enum,</li>
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
* @see ab.AbFactory
* @model kind="package"
* @generated
*/
public interface AbPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String eNAME = "ab";
/**
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String eNS_URI = "http://ab/1.0";
/**
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String eNS_PREFIX = "ab";
/**
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
AbPackage eINSTANCE = ab.impl.AbPackageImpl.init();
/**
* The meta object id for the '{@link ab.impl.AImpl <em>A</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see ab.impl.AImpl
* @see ab.impl.AbPackageImpl#getA()
* @generated
*/
int A = 0;
/**
* The feature id for the '<em><b>I</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int A__I = 0;
/**
* The feature id for the '<em><b>Jm</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int A__JM = 1;
/**
* The feature id for the '<em><b>B</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int A__B = 2;
/**
* The number of structural features of the '<em>A</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int A_FEATURE_COUNT = 3;
/**
* The number of operations of the '<em>A</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int A_OPERATION_COUNT = 0;
/**
* The meta object id for the '{@link ab.impl.BImpl <em>B</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see ab.impl.BImpl
* @see ab.impl.AbPackageImpl#getB()
* @generated
*/
int B = 1;
/**
* The feature id for the '<em><b>X</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int B__X = 0;
/**
* The number of structural features of the '<em>B</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int B_FEATURE_COUNT = 1;
/**
* The number of operations of the '<em>B</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int B_OPERATION_COUNT = 0;
/**
* Returns the meta object for class '{@link ab.A <em>A</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for class '<em>A</em>'.
* @see ab.A
* @generated
*/
EClass getA();
/**
* Returns the meta object for the attribute '{@link ab.A#getI <em>I</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the attribute '<em>I</em>'.
* @see ab.A#getI()
* @see #getA()
* @generated
*/
EAttribute getA_I();
/**
* Returns the meta object for the attribute '{@link ab.A#getJ_m <em>Jm</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Jm</em>'.
* @see ab.A#getJ_m()
* @see #getA()
* @generated
*/
EAttribute getA_J_m();
/**
* Returns the meta object for the containment reference list '{@link ab.A#getB <em>B</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the containment reference list '<em>B</em>'.
* @see ab.A#getB()
* @see #getA()
* @generated
*/
EReference getA_B();
/**
* Returns the meta object for class '{@link ab.B <em>B</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for class '<em>B</em>'.
* @see ab.B
* @generated
*/
EClass getB();
/**
* Returns the meta object for the attribute '{@link ab.B#getX <em>X</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the attribute '<em>X</em>'.
* @see ab.B#getX()
* @see #getB()
* @generated
*/
EAttribute getB_X();
/**
* Returns the factory that creates the instances of the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the factory that creates the instances of the model.
* @generated
*/
AbFactory getAbFactory();
/**
* <!-- begin-user-doc -->
* Defines literals for the meta objects that represent
* <ul>
* <li>each class,</li>
* <li>each feature of each class,</li>
* <li>each operation of each class,</li>
* <li>each enum,</li>
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
* @generated
*/
interface Literals {
/**
* The meta object literal for the '{@link ab.impl.AImpl <em>A</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see ab.impl.AImpl
* @see ab.impl.AbPackageImpl#getA()
* @generated
*/
EClass A = eINSTANCE.getA();
/**
* The meta object literal for the '<em><b>I</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
EAttribute A__I = eINSTANCE.getA_I();
/**
* The meta object literal for the '<em><b>Jm</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
EAttribute A__JM = eINSTANCE.getA_J_m();
/**
* The meta object literal for the '<em><b>B</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
EReference A__B = eINSTANCE.getA_B();
/**
* The meta object literal for the '{@link ab.impl.BImpl <em>B</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see ab.impl.BImpl