problem.genmodel 1.73 KB
<?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="/fr.femtost.disc.eclipse.problemmetamodel/src"
    editDirectory="/fr.femtost.disc.eclipse.problemmetamodel.edit/src" editorDirectory="/fr.femtost.disc.eclipse.problemmetamodel.editor/src"
    modelPluginID="fr.femtost.disc.eclipse.problemmetamodel" modelName="Problem" importerID="org.eclipse.emf.importer.ecore"
    complianceLevel="6.0" copyrightFields="false" editPluginID="fr.femtost.disc.eclipse.problemmetamodel.edit"
    editorPluginID="fr.femtost.disc.eclipse.problemmetamodel.editor">
  <foreignModel>problem.ecore</foreignModel>
  <genPackages prefix="Problem" basePackage="fr.femtost.disc.eclipse.problemmetamodel"
      disposableProviderFactory="true" ecorePackage="problem.ecore#/">
    <genEnums typeSafeEnumCompatible="false" ecoreEnum="problem.ecore#//Severity">
      <genEnumLiterals ecoreEnumLiteral="problem.ecore#//Severity/ok"/>
      <genEnumLiterals ecoreEnumLiteral="problem.ecore#//Severity/warning"/>
      <genEnumLiterals ecoreEnumLiteral="problem.ecore#//Severity/error"/>
      <genEnumLiterals ecoreEnumLiteral="problem.ecore#//Severity/critic"/>
    </genEnums>
    <genClasses ecoreClass="problem.ecore#//Problem">
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//Problem/location"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//Problem/description"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute problem.ecore#//Problem/severity"/>
    </genClasses>
  </genPackages>
</genmodel:GenModel>