Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Fluegge2011-05-09 16:39:20 +0000
committerMartin Fluegge2011-05-09 16:39:20 +0000
commit637bbeff72e4c82953be6bf019e14da6c95a2557 (patch)
treeaed5b41ab4d09ffecfb7684083d8c0ae8c01d58d /plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel
parenta5c1ac1dbe2bcd33af49c034b8d74222c081528f (diff)
downloadcdo-637bbeff72e4c82953be6bf019e14da6c95a2557.tar.gz
cdo-637bbeff72e4c82953be6bf019e14da6c95a2557.tar.xz
cdo-637bbeff72e4c82953be6bf019e14da6c95a2557.zip
[344403] [Dawn] Separated Dawn Codegen from specific implementations
https://bugs.eclipse.org/bugs/show_bug.cgi?id=344403
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel')
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/META-INF/MANIFEST.MF5
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/about.properties31
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/build.properties3
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/model/DawnCodeGen.ecore54
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/model/DawnCodeGen.genmodel46
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/plugin.properties2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawnEMFGenerator.java30
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawnFragmentGenerator.java252
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawnGMFGenerator.java311
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawnGenerator.java217
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawngenmodelFactory.java145
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawngenmodelPackage.java1103
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawnEMFGeneratorImpl.java56
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawnFragmentGeneratorImpl.java659
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawnGMFGeneratorImpl.java693
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawnGeneratorImpl.java637
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawngenmodelFactoryImpl.java298
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawngenmodelPackageImpl.java782
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/util/DawngenmodelAdapterFactory.java371
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/util/DawngenmodelSwitch.java393
20 files changed, 2180 insertions, 3908 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/META-INF/MANIFEST.MF
index 9e669e0a97..4c8826f020 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/META-INF/MANIFEST.MF
@@ -6,12 +6,11 @@ Bundle-Version: 1.0.0.qualifier
Bundle-Localization: plugin
Bundle-Activator: org.eclipse.emf.cdo.dawn.codegen.genmodel.DawnGenModelPlugin
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
- org.eclipse.emf.ecore;bundle-version="[2.6.0,3.0.0)",
- org.eclipse.gmf.codegen;bundle-version="[2.2.0,3.0.0)"
+ org.eclipse.emf.ecore;bundle-version="[2.6.0,3.0.0)"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Export-Package: org.eclipse.emf.cdo.dawn.codegen.dawngenmodel;version="1.0.0",
- org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl;version="1.0.0";x-internal:=true,
+ org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl;version="1.0.0",
org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.util;version="1.0.0",
org.eclipse.emf.cdo.dawn.codegen.genmodel;version="1.0.0"
Bundle-Vendor: %providerName
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/about.properties b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/about.properties
new file mode 100644
index 0000000000..b1edff4ec9
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/about.properties
@@ -0,0 +1,31 @@
+# Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Martin Fluegge - initial API and implementation
+
+# NLS_MESSAGEFORMAT_VAR
+
+# ==============================================================================
+# Do not change the properties between this line and the last line containing:
+# %%% END OF TRANSLATED PROPERTIES %%%
+# Instead, either redefine an existing property, or create a new property,
+# append it to the end of the file, and change the code to use the new name.
+# ==============================================================================
+
+featureName = CDO Dawn GenModel
+featureText = CDO Dawn GenModel\n\
+Version: {featureVersion}\n\
+Build id: {0}\n\
+\n\
+Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others. All rights reserved.\n\
+\n\
+Visit http://wiki.eclipse.org/CDO
+
+# ==============================================================================
+# %%% END OF TRANSLATED PROPERTIES %%%
+# The above properties have been shipped for translation.
+# ==============================================================================
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/build.properties b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/build.properties
index 8f9fe89bb2..4ba8f4ef31 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/build.properties
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/build.properties
@@ -14,7 +14,8 @@ bin.includes = .,\
plugin.xml,\
about.html,\
copyright.txt,\
- plugin.properties
+ plugin.properties,\
+ about.properties
jars.compile.order = .
source.. = src/
output.. = bin/
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/model/DawnCodeGen.ecore b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/model/DawnCodeGen.ecore
index e49cb3d16b..695ef0f083 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/model/DawnCodeGen.ecore
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/model/DawnCodeGen.ecore
@@ -1,38 +1,16 @@
-<?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="dawngenmodel"
- nsURI="http://www.eclipse.org/emf/cdo/dawn/2010/GenModel" nsPrefix="dawngenmodel">
- <eClassifiers xsi:type="ecore:EClass" name="DawnGenerator">
- <eStructuralFeatures xsi:type="ecore:EReference" name="emfFragmentgenerator" eType="#//DawnEMFGenerator"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="gmfFragmentgenerator" eType="#//DawnGMFGenerator"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DawnFragmentGenerator">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="fragmentName" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="dawnEditorClassName" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="emfGenModel" eType="ecore:EClass platform:/plugin/org.eclipse.emf.codegen.ecore/model/GenModel.ecore#//GenModel"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DawnGMFGenerator" eSuperTypes="#//DawnFragmentGenerator">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="dawnDocumentProviderClassName"
- eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="dawnEditorUtilClassName"
- eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="dawnCreationWizardClassName"
- eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="dawnCanonicalEditingPolicyClassName"
- eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="dawnDiagramEditPartClassName"
- eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="dawnEditPartFactoryClassName"
- eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="dawnEditPartProviderClassName"
- eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="dawnEditPolicyProviderClassName"
- eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="GMFGenEditorGenerator"
- eType="ecore:EClass platform:/plugin/org.eclipse.gmf.codegen/models/gmfgen.ecore#//GenEditorGenerator"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DawnEMFGenerator" eSuperTypes="#//DawnFragmentGenerator"/>
-</ecore:EPackage>
+<?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="dawngenmodel"
+ nsURI="http://www.eclipse.org/emf/cdo/dawn/2010/GenModel" nsPrefix="dawngenmodel">
+ <eClassifiers xsi:type="ecore:EClass" name="DawnGenerator">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="conflictColor" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="localLockColor" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="remoteLockColor" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DawnFragmentGenerator">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="fragmentName" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="dawnEditorClassName" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dawnGenerator" eType="#//DawnGenerator"/>
+ </eClassifiers>
+</ecore:EPackage>
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/model/DawnCodeGen.genmodel b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/model/DawnCodeGen.genmodel
index ad907d1f82..3cecb962e6 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/model/DawnCodeGen.genmodel
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/model/DawnCodeGen.genmodel
@@ -1,25 +1,21 @@
-<?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" copyrightText="Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.&#xD;&#xA;All rights reserved. This program and the accompanying materials&#xD;&#xA;are made available under the terms of the Eclipse Public License v1.0&#xD;&#xA;which accompanies this distribution, and is available at&#xD;&#xA;http://www.eclipse.org/legal/epl-v10.html&#xD;&#xA;&#xD;&#xA;Contributors:&#xD;&#xA; Martin Fluegge - initial API and implementation"
- modelDirectory="/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src" modelPluginID="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel"
- modelName="DawnCodeGen" importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0"
- usedGenPackages="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore platform:/plugin/org.eclipse.emf.codegen.ecore/model/GenModel.genmodel#//genmodel platform:/plugin/org.eclipse.gmf.codegen/models/gmfgen.genmodel#//gmfgen">
- <foreignModel>DawnCodeGen.ecore</foreignModel>
- <genPackages prefix="Dawngenmodel" basePackage="org.eclipse.emf.cdo.dawn.codegen"
- disposableProviderFactory="true" ecorePackage="DawnCodeGen.ecore#/">
- <genClasses ecoreClass="DawnCodeGen.ecore#//DawnGMFGenerator">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute DawnCodeGen.ecore#//DawnGMFGenerator/fragmentName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute DawnCodeGen.ecore#//DawnGMFGenerator/dawnEditorClassName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute DawnCodeGen.ecore#//DawnGMFGenerator/dawnDocumentProviderClassName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute DawnCodeGen.ecore#//DawnGMFGenerator/dawnEditorUtilClassName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute DawnCodeGen.ecore#//DawnGMFGenerator/dawnCreationWizardClassName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute DawnCodeGen.ecore#//DawnGMFGenerator/dawnCanonicalEditingPolicyClassName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute DawnCodeGen.ecore#//DawnGMFGenerator/dawnDiagramEditPartClassName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute DawnCodeGen.ecore#//DawnGMFGenerator/dawnEditPartFactoryClassName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute DawnCodeGen.ecore#//DawnGMFGenerator/dawnEditPartProviderClassName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute DawnCodeGen.ecore#//DawnGMFGenerator/dawnEditPolicyProviderClassName"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference DawnCodeGen.ecore#//DawnGMFGenerator/GMFGenEditorGenerator"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
+<?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" copyrightText="Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.&#xD;&#xA;All rights reserved. This program and the accompanying materials&#xD;&#xA;are made available under the terms of the Eclipse Public License v1.0&#xD;&#xA;which accompanies this distribution, and is available at&#xD;&#xA;http://www.eclipse.org/legal/epl-v10.html&#xD;&#xA;&#xD;&#xA;Contributors:&#xD;&#xA; Martin Fluegge - initial API and implementation"
+ modelDirectory="/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src" modelPluginID="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel"
+ modelName="DawnCodeGen" importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0"
+ usedGenPackages="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore">
+ <foreignModel>DawnCodeGen.ecore</foreignModel>
+ <genPackages prefix="Dawngenmodel" basePackage="org.eclipse.emf.cdo.dawn.codegen"
+ disposableProviderFactory="true" ecorePackage="DawnCodeGen.ecore#/">
+ <genClasses ecoreClass="DawnCodeGen.ecore#//DawnGenerator">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute DawnCodeGen.ecore#//DawnGenerator/conflictColor"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute DawnCodeGen.ecore#//DawnGenerator/localLockColor"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute DawnCodeGen.ecore#//DawnGenerator/remoteLockColor"/>
+ </genClasses>
+ <genClasses ecoreClass="DawnCodeGen.ecore#//DawnFragmentGenerator">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute DawnCodeGen.ecore#//DawnFragmentGenerator/fragmentName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute DawnCodeGen.ecore#//DawnFragmentGenerator/dawnEditorClassName"/>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/plugin.properties b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/plugin.properties
index 1d5ed8faf5..485e4ddda4 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/plugin.properties
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/plugin.properties
@@ -5,7 +5,7 @@
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
-# Eike Stepper - initial API and implementation
+# Martin Fluegge - initial API and implementation
pluginName = CDO Dawn Codegen Genmodel
providerName = Eclipse Modeling Project
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawnEMFGenerator.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawnEMFGenerator.java
deleted file mode 100644
index 1d090b44e5..0000000000
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawnEMFGenerator.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Martin Fluegge - initial API and implementation
- */
-package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel;
-
-/**
- * <!-- begin-user-doc --> A representation of the model object '<em><b>Dawn EMF Generator</b></em>'.
- *
- * @since 1.0 <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnEMFGenerator()
- * @model
- * @generated
- */
-public interface DawnEMFGenerator extends DawnFragmentGenerator
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
-
-} // DawnEMFGenerator
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawnFragmentGenerator.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawnFragmentGenerator.java
index 84935ba82e..6c58cc51c1 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawnFragmentGenerator.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawnFragmentGenerator.java
@@ -1,126 +1,126 @@
-/**
- * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Martin Fluegge - initial API and implementation
- */
-package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel;
-
-import org.eclipse.emf.codegen.ecore.genmodel.GenModel;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc --> A representation of the model object '<em><b>Dawn Fragment Generator</b></em>'.
- *
- * @since 1.0 <!-- end-user-doc -->
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getFragmentName <em>Fragment
- * Name </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getDawnEditorClassName <em>Dawn
- * Editor Class Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getEmfGenModel <em>Emf Gen
- * Model</em>}</li>
- * </ul>
- * </p>
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnFragmentGenerator()
- * @model
- * @generated
- */
-public interface DawnFragmentGenerator extends EObject
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
-
- /**
- * Returns the value of the '<em><b>Fragment Name</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Fragment Name</em>' attribute isn't clear, there really should be more of a description
- * here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Fragment Name</em>' attribute.
- * @see #setFragmentName(String)
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnFragmentGenerator_FragmentName()
- * @model
- * @generated
- */
- String getFragmentName();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getFragmentName
- * <em>Fragment Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Fragment Name</em>' attribute.
- * @see #getFragmentName()
- * @generated
- */
- void setFragmentName(String value);
-
- /**
- * Returns the value of the '<em><b>Dawn Editor Class Name</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Dawn Editor Class Name</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Dawn Editor Class Name</em>' attribute.
- * @see #setDawnEditorClassName(String)
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnFragmentGenerator_DawnEditorClassName()
- * @model
- * @generated
- */
- String getDawnEditorClassName();
-
- /**
- * Sets the value of the '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getDawnEditorClassName
- * <em>Dawn Editor Class Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Dawn Editor Class Name</em>' attribute.
- * @see #getDawnEditorClassName()
- * @generated
- */
- void setDawnEditorClassName(String value);
-
- /**
- * Returns the value of the '<em><b>Emf Gen Model</b></em>' reference. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Emf Gen Model</em>' reference isn't clear, there really should be more of a description
- * here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Emf Gen Model</em>' reference.
- * @see #setEmfGenModel(GenModel)
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnFragmentGenerator_EmfGenModel()
- * @model
- * @generated
- */
- GenModel getEmfGenModel();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getEmfGenModel
- * <em>Emf Gen Model</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Emf Gen Model</em>' reference.
- * @see #getEmfGenModel()
- * @generated
- */
- void setEmfGenModel(GenModel value);
-
-} // DawnFragmentGenerator
+/**
+ * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Martin Fluegge - initial API and implementation
+ */
+package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc --> A representation of the model object '<em><b>Dawn Fragment Generator</b></em>'. <!--
+ * end-user-doc -->
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getFragmentName <em>Fragment Name
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getDawnEditorClassName <em>Dawn Editor
+ * Class Name</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getDawnGenerator <em>Dawn Generator
+ * </em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnFragmentGenerator()
+ * @model
+ * @generated
+ * @since 1.0
+ */
+public interface DawnFragmentGenerator extends EObject
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
+
+ /**
+ * Returns the value of the '<em><b>Fragment Name</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Fragment Name</em>' attribute isn't clear, there really should be more of a description
+ * here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Fragment Name</em>' attribute.
+ * @see #setFragmentName(String)
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnFragmentGenerator_FragmentName()
+ * @model
+ * @generated
+ */
+ String getFragmentName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getFragmentName
+ * <em>Fragment Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Fragment Name</em>' attribute.
+ * @see #getFragmentName()
+ * @generated
+ */
+ void setFragmentName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Dawn Editor Class Name</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Dawn Editor Class Name</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Dawn Editor Class Name</em>' attribute.
+ * @see #setDawnEditorClassName(String)
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnFragmentGenerator_DawnEditorClassName()
+ * @model
+ * @generated
+ */
+ String getDawnEditorClassName();
+
+ /**
+ * Sets the value of the '
+ * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getDawnEditorClassName
+ * <em>Dawn Editor Class Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Dawn Editor Class Name</em>' attribute.
+ * @see #getDawnEditorClassName()
+ * @generated
+ */
+ void setDawnEditorClassName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Dawn Generator</b></em>' reference. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Dawn Generator</em>' reference isn't clear, there really should be more of a description
+ * here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Dawn Generator</em>' reference.
+ * @see #setDawnGenerator(DawnGenerator)
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnFragmentGenerator_DawnGenerator()
+ * @model
+ * @generated
+ */
+ DawnGenerator getDawnGenerator();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getDawnGenerator
+ * <em>Dawn Generator</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Dawn Generator</em>' reference.
+ * @see #getDawnGenerator()
+ * @generated
+ */
+ void setDawnGenerator(DawnGenerator value);
+
+} // DawnFragmentGenerator
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawnGMFGenerator.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawnGMFGenerator.java
deleted file mode 100644
index 88df7500ff..0000000000
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawnGMFGenerator.java
+++ /dev/null
@@ -1,311 +0,0 @@
-/**
- * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Martin Fluegge - initial API and implementation
- */
-package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel;
-
-import org.eclipse.gmf.codegen.gmfgen.GenEditorGenerator;
-
-/**
- * <!-- begin-user-doc --> A representation of the model object '<em><b>Dawn GMF Generator</b></em>'. <!-- end-user-doc
- * -->
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getFragmentName <em>Fragment Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnEditorClassName <em>Dawn Editor
- * Class Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnDocumentProviderClassName <em>Dawn
- * Document Provider Class Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnEditorUtilClassName <em>Dawn Editor
- * Util Class Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnCreationWizardClassName <em>Dawn
- * Creation Wizard Class Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnCanonicalEditingPolicyClassName <em>
- * Dawn Canonical Editing Policy Class Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnDiagramEditPartClassName <em>Dawn
- * Diagram Edit Part Class Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnEditPartFactoryClassName <em>Dawn
- * Edit Part Factory Class Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnEditPartProviderClassName <em>Dawn
- * Edit Part Provider Class Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnEditPolicyProviderClassName <em>Dawn
- * Edit Policy Provider Class Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getGMFGenEditorGenerator <em>GMF Gen Editor
- * Generator</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnGMFGenerator()
- * @model
- * @generated
- */
-public interface DawnGMFGenerator extends DawnFragmentGenerator
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
-
- /**
- * Returns the value of the '<em><b>Dawn Document Provider Class Name</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Dawn Document Provider Class Name</em>' attribute isn't clear, there really should be
- * more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Dawn Document Provider Class Name</em>' attribute.
- * @see #setDawnDocumentProviderClassName(String)
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnGMFGenerator_DawnDocumentProviderClassName()
- * @model
- * @generated
- */
- String getDawnDocumentProviderClassName();
-
- /**
- * Sets the value of the '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnDocumentProviderClassName
- * <em>Dawn Document Provider Class Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Dawn Document Provider Class Name</em>' attribute.
- * @see #getDawnDocumentProviderClassName()
- * @generated
- */
- void setDawnDocumentProviderClassName(String value);
-
- /**
- * Returns the value of the '<em><b>Dawn Editor Util Class Name</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Dawn Editor Util Class Name</em>' attribute isn't clear, there really should be more of
- * a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Dawn Editor Util Class Name</em>' attribute.
- * @see #setDawnEditorUtilClassName(String)
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnGMFGenerator_DawnEditorUtilClassName()
- * @model
- * @generated
- */
- String getDawnEditorUtilClassName();
-
- /**
- * Sets the value of the '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnEditorUtilClassName
- * <em>Dawn Editor Util Class Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Dawn Editor Util Class Name</em>' attribute.
- * @see #getDawnEditorUtilClassName()
- * @generated
- */
- void setDawnEditorUtilClassName(String value);
-
- /**
- * Returns the value of the '<em><b>Dawn Creation Wizard Class Name</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Dawn Creation Wizard Class Name</em>' attribute isn't clear, there really should be more
- * of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Dawn Creation Wizard Class Name</em>' attribute.
- * @see #setDawnCreationWizardClassName(String)
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnGMFGenerator_DawnCreationWizardClassName()
- * @model
- * @generated
- */
- String getDawnCreationWizardClassName();
-
- /**
- * Sets the value of the '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnCreationWizardClassName
- * <em>Dawn Creation Wizard Class Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Dawn Creation Wizard Class Name</em>' attribute.
- * @see #getDawnCreationWizardClassName()
- * @generated
- */
- void setDawnCreationWizardClassName(String value);
-
- /**
- * Returns the value of the '<em><b>Dawn Canonical Editing Policy Class Name</b></em>' attribute. <!-- begin-user-doc
- * -->
- * <p>
- * If the meaning of the '<em>Dawn Canonical Editing Policy Class Name</em>' attribute isn't clear, there really
- * should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Dawn Canonical Editing Policy Class Name</em>' attribute.
- * @see #setDawnCanonicalEditingPolicyClassName(String)
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnGMFGenerator_DawnCanonicalEditingPolicyClassName()
- * @model
- * @generated
- */
- String getDawnCanonicalEditingPolicyClassName();
-
- /**
- * Sets the value of the '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnCanonicalEditingPolicyClassName
- * <em>Dawn Canonical Editing Policy Class Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Dawn Canonical Editing Policy Class Name</em>' attribute.
- * @see #getDawnCanonicalEditingPolicyClassName()
- * @generated
- */
- void setDawnCanonicalEditingPolicyClassName(String value);
-
- /**
- * Returns the value of the '<em><b>Dawn Diagram Edit Part Class Name</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Dawn Diagram Edit Part Class Name</em>' attribute isn't clear, there really should be
- * more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Dawn Diagram Edit Part Class Name</em>' attribute.
- * @see #setDawnDiagramEditPartClassName(String)
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnGMFGenerator_DawnDiagramEditPartClassName()
- * @model
- * @generated
- */
- String getDawnDiagramEditPartClassName();
-
- /**
- * Sets the value of the '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnDiagramEditPartClassName
- * <em>Dawn Diagram Edit Part Class Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Dawn Diagram Edit Part Class Name</em>' attribute.
- * @see #getDawnDiagramEditPartClassName()
- * @generated
- */
- void setDawnDiagramEditPartClassName(String value);
-
- /**
- * Returns the value of the '<em><b>Dawn Edit Part Factory Class Name</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Dawn Edit Part Factory Class Name</em>' attribute isn't clear, there really should be
- * more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Dawn Edit Part Factory Class Name</em>' attribute.
- * @see #setDawnEditPartFactoryClassName(String)
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnGMFGenerator_DawnEditPartFactoryClassName()
- * @model
- * @generated
- */
- String getDawnEditPartFactoryClassName();
-
- /**
- * Sets the value of the '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnEditPartFactoryClassName
- * <em>Dawn Edit Part Factory Class Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Dawn Edit Part Factory Class Name</em>' attribute.
- * @see #getDawnEditPartFactoryClassName()
- * @generated
- */
- void setDawnEditPartFactoryClassName(String value);
-
- /**
- * Returns the value of the '<em><b>Dawn Edit Part Provider Class Name</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Dawn Edit Part Provider Class Name</em>' attribute isn't clear, there really should be
- * more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Dawn Edit Part Provider Class Name</em>' attribute.
- * @see #setDawnEditPartProviderClassName(String)
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnGMFGenerator_DawnEditPartProviderClassName()
- * @model
- * @generated
- */
- String getDawnEditPartProviderClassName();
-
- /**
- * Sets the value of the '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnEditPartProviderClassName
- * <em>Dawn Edit Part Provider Class Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Dawn Edit Part Provider Class Name</em>' attribute.
- * @see #getDawnEditPartProviderClassName()
- * @generated
- */
- void setDawnEditPartProviderClassName(String value);
-
- /**
- * Returns the value of the '<em><b>Dawn Edit Policy Provider Class Name</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Dawn Edit Policy Provider Class Name</em>' attribute isn't clear, there really should be
- * more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Dawn Edit Policy Provider Class Name</em>' attribute.
- * @see #setDawnEditPolicyProviderClassName(String)
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnGMFGenerator_DawnEditPolicyProviderClassName()
- * @model
- * @generated
- */
- String getDawnEditPolicyProviderClassName();
-
- /**
- * Sets the value of the '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnEditPolicyProviderClassName
- * <em>Dawn Edit Policy Provider Class Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Dawn Edit Policy Provider Class Name</em>' attribute.
- * @see #getDawnEditPolicyProviderClassName()
- * @generated
- */
- void setDawnEditPolicyProviderClassName(String value);
-
- /**
- * Returns the value of the '<em><b>GMF Gen Editor Generator</b></em>' reference. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>GMF Gen Editor Generator</em>' reference isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>GMF Gen Editor Generator</em>' reference.
- * @see #setGMFGenEditorGenerator(GenEditorGenerator)
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnGMFGenerator_GMFGenEditorGenerator()
- * @model
- * @generated
- */
- GenEditorGenerator getGMFGenEditorGenerator();
-
- /**
- * Sets the value of the '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getGMFGenEditorGenerator
- * <em>GMF Gen Editor Generator</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>GMF Gen Editor Generator</em>' reference.
- * @see #getGMFGenEditorGenerator()
- * @generated
- */
- void setGMFGenEditorGenerator(GenEditorGenerator value);
-
-} // DawnGMFGenerator
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawnGenerator.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawnGenerator.java
index 56c15b6584..8d2d2a1ecd 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawnGenerator.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawnGenerator.java
@@ -1,95 +1,122 @@
-/**
- * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Martin Fluegge - initial API and implementation
- */
-package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc --> A representation of the model object '<em><b>Dawn Generator</b></em>'.
- *
- * @since 1.0 <!-- end-user-doc -->
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getEmfFragmentgenerator <em>Emf
- * Fragmentgenerator</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getGmfFragmentgenerator <em>Gmf
- * Fragmentgenerator</em>}</li>
- * </ul>
- * </p>
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnGenerator()
- * @model
- * @generated
- */
-public interface DawnGenerator extends EObject
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
-
- /**
- * Returns the value of the '<em><b>Emf Fragmentgenerator</b></em>' containment reference. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Emf Fragmentgenerator</em>' containment reference isn't clear, there really should be
- * more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Emf Fragmentgenerator</em>' containment reference.
- * @see #setEmfFragmentgenerator(DawnEMFGenerator)
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnGenerator_EmfFragmentgenerator()
- * @model containment="true"
- * @generated
- */
- DawnEMFGenerator getEmfFragmentgenerator();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getEmfFragmentgenerator
- * <em>Emf Fragmentgenerator</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Emf Fragmentgenerator</em>' containment reference.
- * @see #getEmfFragmentgenerator()
- * @generated
- */
- void setEmfFragmentgenerator(DawnEMFGenerator value);
-
- /**
- * Returns the value of the '<em><b>Gmf Fragmentgenerator</b></em>' containment reference. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Gmf Fragmentgenerator</em>' containment reference isn't clear, there really should be
- * more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Gmf Fragmentgenerator</em>' containment reference.
- * @see #setGmfFragmentgenerator(DawnGMFGenerator)
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnGenerator_GmfFragmentgenerator()
- * @model containment="true"
- * @generated
- */
- DawnGMFGenerator getGmfFragmentgenerator();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getGmfFragmentgenerator
- * <em>Gmf Fragmentgenerator</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Gmf Fragmentgenerator</em>' containment reference.
- * @see #getGmfFragmentgenerator()
- * @generated
- */
- void setGmfFragmentgenerator(DawnGMFGenerator value);
-
-} // DawnGenerator
+/**
+ * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Martin Fluegge - initial API and implementation
+ */
+package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc --> A representation of the model object '<em><b>Dawn Generator</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getConflictColor <em>Conflict Color</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getLocalLockColor <em>Local Lock Color</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getRemoteLockColor <em>Remote Lock Color</em>}
+ * </li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnGenerator()
+ * @model
+ * @generated
+ * @since 1.0
+ */
+public interface DawnGenerator extends EObject
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
+
+ /**
+ * Returns the value of the '<em><b>Conflict Color</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Conflict Color</em>' attribute isn't clear, there really should be more of a description
+ * here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Conflict Color</em>' attribute.
+ * @see #setConflictColor(String)
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnGenerator_ConflictColor()
+ * @model
+ * @generated
+ */
+ String getConflictColor();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getConflictColor
+ * <em>Conflict Color</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Conflict Color</em>' attribute.
+ * @see #getConflictColor()
+ * @generated
+ */
+ void setConflictColor(String value);
+
+ /**
+ * Returns the value of the '<em><b>Local Lock Color</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Local Lock Color</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Local Lock Color</em>' attribute.
+ * @see #setLocalLockColor(String)
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnGenerator_LocalLockColor()
+ * @model
+ * @generated
+ */
+ String getLocalLockColor();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getLocalLockColor
+ * <em>Local Lock Color</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Local Lock Color</em>' attribute.
+ * @see #getLocalLockColor()
+ * @generated
+ */
+ void setLocalLockColor(String value);
+
+ /**
+ * Returns the value of the '<em><b>Remote Lock Color</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Remote Lock Color</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Remote Lock Color</em>' attribute.
+ * @see #setRemoteLockColor(String)
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#getDawnGenerator_RemoteLockColor()
+ * @model
+ * @generated
+ */
+ String getRemoteLockColor();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getRemoteLockColor
+ * <em>Remote Lock Color</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Remote Lock Color</em>' attribute.
+ * @see #getRemoteLockColor()
+ * @generated
+ */
+ void setRemoteLockColor(String value);
+
+} // DawnGenerator
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawngenmodelFactory.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawngenmodelFactory.java
index 7611a1fad1..3c0860661f 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawngenmodelFactory.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawngenmodelFactory.java
@@ -1,81 +1,64 @@
-/**
- * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Martin Fluegge - initial API and implementation
- */
-package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel;
-
-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 org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage
- * @generated
- */
-public interface DawngenmodelFactory extends EFactory
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
-
- /**
- * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- DawngenmodelFactory eINSTANCE = org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawngenmodelFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Dawn Generator</em>'. <!-- begin-user-doc -->
- *
- * @since 1.0<!-- end-user-doc -->
- * @return a new object of class '<em>Dawn Generator</em>'.
- * @generated
- */
- DawnGenerator createDawnGenerator();
-
- /**
- * Returns a new object of class '<em>Dawn Fragment Generator</em>'. <!-- begin-user-doc -->
- *
- * @since 1.0<!-- end-user-doc -->
- * @return a new object of class '<em>Dawn Fragment Generator</em>'.
- * @generated
- */
- DawnFragmentGenerator createDawnFragmentGenerator();
-
- /**
- * Returns a new object of class '<em>Dawn GMF Generator</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Dawn GMF Generator</em>'.
- * @generated
- */
- DawnGMFGenerator createDawnGMFGenerator();
-
- /**
- * Returns a new object of class '<em>Dawn EMF Generator</em>'. <!-- begin-user-doc -->
- *
- * @since 1.0 <!-- end-user-doc -->
- * @return a new object of class '<em>Dawn EMF Generator</em>'.
- * @generated
- */
- DawnEMFGenerator createDawnEMFGenerator();
-
- /**
- * Returns the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the package supported by this factory.
- * @generated
- */
- DawngenmodelPackage getDawngenmodelPackage();
-
-} // DawngenmodelFactory
+/**
+ * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Martin Fluegge - initial API and implementation
+ */
+package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel;
+
+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 org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage
+ * @generated
+ */
+public interface DawngenmodelFactory extends EFactory
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
+
+ /**
+ * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ DawngenmodelFactory eINSTANCE = org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawngenmodelFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Dawn Generator</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Dawn Generator</em>'.
+ * @generated
+ * @since 1.0
+ */
+ DawnGenerator createDawnGenerator();
+
+ /**
+ * Returns a new object of class '<em>Dawn Fragment Generator</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Dawn Fragment Generator</em>'.
+ * @generated
+ * @since 1.0
+ */
+ DawnFragmentGenerator createDawnFragmentGenerator();
+
+ /**
+ * Returns the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the package supported by this factory.
+ * @generated
+ */
+ DawngenmodelPackage getDawngenmodelPackage();
+
+} // DawngenmodelFactory
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawngenmodelPackage.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawngenmodelPackage.java
index 3773cd0138..64ba9e78cd 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawngenmodelPackage.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/DawngenmodelPackage.java
@@ -1,735 +1,368 @@
-/**
- * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Martin Fluegge - initial API and implementation
- */
-package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel;
-
-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 enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelFactory
- * @model kind="package"
- * @generated
- */
-public interface DawngenmodelPackage extends EPackage
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
-
- /**
- * The package name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- String eNAME = "dawngenmodel";
-
- /**
- * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/emf/cdo/dawn/2010/GenModel";
-
- /**
- * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_PREFIX = "dawngenmodel";
-
- /**
- * The singleton instance of the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- DawngenmodelPackage eINSTANCE = org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawngenmodelPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGeneratorImpl
- * <em>Dawn Generator</em>}' class. <!-- begin-user-doc -->
- *
- * @since 1.0 <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGeneratorImpl
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawngenmodelPackageImpl#getDawnGenerator()
- * @generated
- */
- int DAWN_GENERATOR = 0;
-
- /**
- * The feature id for the '<em><b>Emf Fragmentgenerator</b></em>' containment reference. <!-- begin-user-doc -->
- *
- * @since 1.0<!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DAWN_GENERATOR__EMF_FRAGMENTGENERATOR = 0;
-
- /**
- * The feature id for the '<em><b>Gmf Fragmentgenerator</b></em>' containment reference. <!-- begin-user-doc -->
- *
- * @since 1.0<!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DAWN_GENERATOR__GMF_FRAGMENTGENERATOR = 1;
-
- /**
- * The number of structural features of the '<em>Dawn Generator</em>' class. <!-- begin-user-doc -->
- *
- * @since 1.0<!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DAWN_GENERATOR_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnFragmentGeneratorImpl
- * <em>Dawn Fragment Generator</em>}' class. <!-- begin-user-doc -->
- *
- * @since 1.0 <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnFragmentGeneratorImpl
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawngenmodelPackageImpl#getDawnFragmentGenerator()
- * @generated
- */
- int DAWN_FRAGMENT_GENERATOR = 1;
-
- /**
- * The feature id for the '<em><b>Fragment Name</b></em>' attribute. <!-- begin-user-doc -->
- *
- * @since 1.0 <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DAWN_FRAGMENT_GENERATOR__FRAGMENT_NAME = 0;
-
- /**
- * The feature id for the '<em><b>Dawn Editor Class Name</b></em>' attribute. <!-- begin-user-doc -->
- *
- * @since 1.0<!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DAWN_FRAGMENT_GENERATOR__DAWN_EDITOR_CLASS_NAME = 1;
-
- /**
- * The feature id for the '<em><b>Emf Gen Model</b></em>' reference. <!-- begin-user-doc -->
- *
- * @since 1.0<!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DAWN_FRAGMENT_GENERATOR__EMF_GEN_MODEL = 2;
-
- /**
- * The number of structural features of the '<em>Dawn Fragment Generator</em>' class. <!-- begin-user-doc -->
- *
- * @since 1.0<!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DAWN_FRAGMENT_GENERATOR_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGMFGeneratorImpl
- * <em>Dawn GMF Generator</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGMFGeneratorImpl
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawngenmodelPackageImpl#getDawnGMFGenerator()
- * @generated
- */
- int DAWN_GMF_GENERATOR = 2;
-
- /**
- * The feature id for the '<em><b>Fragment Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DAWN_GMF_GENERATOR__FRAGMENT_NAME = DAWN_FRAGMENT_GENERATOR__FRAGMENT_NAME;
-
- /**
- * The feature id for the '<em><b>Dawn Editor Class Name</b></em>' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DAWN_GMF_GENERATOR__DAWN_EDITOR_CLASS_NAME = DAWN_FRAGMENT_GENERATOR__DAWN_EDITOR_CLASS_NAME;
-
- /**
- * The feature id for the '<em><b>Emf Gen Model</b></em>' reference. <!-- begin-user-doc -->
- *
- * @since 1.0 <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DAWN_GMF_GENERATOR__EMF_GEN_MODEL = DAWN_FRAGMENT_GENERATOR__EMF_GEN_MODEL;
-
- /**
- * The feature id for the '<em><b>Dawn Document Provider Class Name</b></em>' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DAWN_GMF_GENERATOR__DAWN_DOCUMENT_PROVIDER_CLASS_NAME = DAWN_FRAGMENT_GENERATOR_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Dawn Editor Util Class Name</b></em>' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DAWN_GMF_GENERATOR__DAWN_EDITOR_UTIL_CLASS_NAME = DAWN_FRAGMENT_GENERATOR_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Dawn Creation Wizard Class Name</b></em>' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DAWN_GMF_GENERATOR__DAWN_CREATION_WIZARD_CLASS_NAME = DAWN_FRAGMENT_GENERATOR_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Dawn Canonical Editing Policy Class Name</b></em>' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DAWN_GMF_GENERATOR__DAWN_CANONICAL_EDITING_POLICY_CLASS_NAME = DAWN_FRAGMENT_GENERATOR_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>Dawn Diagram Edit Part Class Name</b></em>' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DAWN_GMF_GENERATOR__DAWN_DIAGRAM_EDIT_PART_CLASS_NAME = DAWN_FRAGMENT_GENERATOR_FEATURE_COUNT + 4;
-
- /**
- * The feature id for the '<em><b>Dawn Edit Part Factory Class Name</b></em>' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DAWN_GMF_GENERATOR__DAWN_EDIT_PART_FACTORY_CLASS_NAME = DAWN_FRAGMENT_GENERATOR_FEATURE_COUNT + 5;
-
- /**
- * The feature id for the '<em><b>Dawn Edit Part Provider Class Name</b></em>' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DAWN_GMF_GENERATOR__DAWN_EDIT_PART_PROVIDER_CLASS_NAME = DAWN_FRAGMENT_GENERATOR_FEATURE_COUNT + 6;
-
- /**
- * The feature id for the '<em><b>Dawn Edit Policy Provider Class Name</b></em>' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DAWN_GMF_GENERATOR__DAWN_EDIT_POLICY_PROVIDER_CLASS_NAME = DAWN_FRAGMENT_GENERATOR_FEATURE_COUNT + 7;
-
- /**
- * The feature id for the '<em><b>GMF Gen Editor Generator</b></em>' reference. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DAWN_GMF_GENERATOR__GMF_GEN_EDITOR_GENERATOR = DAWN_FRAGMENT_GENERATOR_FEATURE_COUNT + 8;
-
- /**
- * The number of structural features of the '<em>Dawn GMF Generator</em>' class. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DAWN_GMF_GENERATOR_FEATURE_COUNT = DAWN_FRAGMENT_GENERATOR_FEATURE_COUNT + 9;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnEMFGeneratorImpl
- * <em>Dawn EMF Generator</em>}' class. <!-- begin-user-doc -->
- *
- * @since 1.0<!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnEMFGeneratorImpl
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawngenmodelPackageImpl#getDawnEMFGenerator()
- * @generated
- */
- int DAWN_EMF_GENERATOR = 3;
-
- /**
- * The feature id for the '<em><b>Fragment Name</b></em>' attribute. <!-- begin-user-doc -->
- *
- * @since 1.0 <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DAWN_EMF_GENERATOR__FRAGMENT_NAME = DAWN_FRAGMENT_GENERATOR__FRAGMENT_NAME;
-
- /**
- * The feature id for the '<em><b>Dawn Editor Class Name</b></em>' attribute. <!-- begin-user-doc -->
- *
- * @since 1.0 <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DAWN_EMF_GENERATOR__DAWN_EDITOR_CLASS_NAME = DAWN_FRAGMENT_GENERATOR__DAWN_EDITOR_CLASS_NAME;
-
- /**
- * The feature id for the '<em><b>Emf Gen Model</b></em>' reference. <!-- begin-user-doc -->
- *
- * @since 1.0 <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DAWN_EMF_GENERATOR__EMF_GEN_MODEL = DAWN_FRAGMENT_GENERATOR__EMF_GEN_MODEL;
-
- /**
- * The number of structural features of the '<em>Dawn EMF Generator</em>' class. <!-- begin-user-doc -->
- *
- * @since 1.0 <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DAWN_EMF_GENERATOR_FEATURE_COUNT = DAWN_FRAGMENT_GENERATOR_FEATURE_COUNT + 0;
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator
- * <em>Dawn Generator</em>}'. <!-- begin-user-doc -->
- *
- * @since 1.0<!-- end-user-doc -->
- * @return the meta object for class '<em>Dawn Generator</em>'.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator
- * @generated
- */
- EClass getDawnGenerator();
-
- /**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getEmfFragmentgenerator
- * <em>Emf Fragmentgenerator</em>}'. <!-- begin-user-doc -->
- *
- * @since 1.0<!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Emf Fragmentgenerator</em>'.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getEmfFragmentgenerator()
- * @see #getDawnGenerator()
- * @generated
- */
- EReference getDawnGenerator_EmfFragmentgenerator();
-
- /**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getGmfFragmentgenerator
- * <em>Gmf Fragmentgenerator</em>}'. <!-- begin-user-doc -->
- *
- * @since 1.0 <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Gmf Fragmentgenerator</em>'.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getGmfFragmentgenerator()
- * @see #getDawnGenerator()
- * @generated
- */
- EReference getDawnGenerator_GmfFragmentgenerator();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator
- * <em>Dawn Fragment Generator</em>}'. <!-- begin-user-doc -->
- *
- * @since 1.0<!-- end-user-doc -->
- * @return the meta object for class '<em>Dawn Fragment Generator</em>'.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator
- * @generated
- */
- EClass getDawnFragmentGenerator();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getFragmentName <em>Fragment Name</em>}
- * '. <!-- begin-user-doc -->
- *
- * @since 1.0 <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Fragment Name</em>'.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getFragmentName()
- * @see #getDawnFragmentGenerator()
- * @generated
- */
- EAttribute getDawnFragmentGenerator_FragmentName();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getDawnEditorClassName
- * <em>Dawn Editor Class Name</em>}'. <!-- begin-user-doc -->
- *
- * @since 1.0 <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Dawn Editor Class Name</em>'.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getDawnEditorClassName()
- * @see #getDawnFragmentGenerator()
- * @generated
- */
- EAttribute getDawnFragmentGenerator_DawnEditorClassName();
-
- /**
- * Returns the meta object for the reference '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getEmfGenModel <em>Emf Gen Model</em>}'.
- * <!-- begin-user-doc -->
- *
- * @since 1.0<!-- end-user-doc -->
- * @return the meta object for the reference '<em>Emf Gen Model</em>'.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getEmfGenModel()
- * @see #getDawnFragmentGenerator()
- * @generated
- */
- EReference getDawnFragmentGenerator_EmfGenModel();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator
- * <em>Dawn GMF Generator</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Dawn GMF Generator</em>'.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator
- * @generated
- */
- EClass getDawnGMFGenerator();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnDocumentProviderClassName
- * <em>Dawn Document Provider Class Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Dawn Document Provider Class Name</em>'.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnDocumentProviderClassName()
- * @see #getDawnGMFGenerator()
- * @generated
- */
- EAttribute getDawnGMFGenerator_DawnDocumentProviderClassName();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnEditorUtilClassName
- * <em>Dawn Editor Util Class Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Dawn Editor Util Class Name</em>'.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnEditorUtilClassName()
- * @see #getDawnGMFGenerator()
- * @generated
- */
- EAttribute getDawnGMFGenerator_DawnEditorUtilClassName();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnCreationWizardClassName
- * <em>Dawn Creation Wizard Class Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Dawn Creation Wizard Class Name</em>'.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnCreationWizardClassName()
- * @see #getDawnGMFGenerator()
- * @generated
- */
- EAttribute getDawnGMFGenerator_DawnCreationWizardClassName();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnCanonicalEditingPolicyClassName
- * <em>Dawn Canonical Editing Policy Class Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Dawn Canonical Editing Policy Class Name</em>'.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnCanonicalEditingPolicyClassName()
- * @see #getDawnGMFGenerator()
- * @generated
- */
- EAttribute getDawnGMFGenerator_DawnCanonicalEditingPolicyClassName();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnDiagramEditPartClassName
- * <em>Dawn Diagram Edit Part Class Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Dawn Diagram Edit Part Class Name</em>'.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnDiagramEditPartClassName()
- * @see #getDawnGMFGenerator()
- * @generated
- */
- EAttribute getDawnGMFGenerator_DawnDiagramEditPartClassName();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnEditPartFactoryClassName
- * <em>Dawn Edit Part Factory Class Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Dawn Edit Part Factory Class Name</em>'.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnEditPartFactoryClassName()
- * @see #getDawnGMFGenerator()
- * @generated
- */
- EAttribute getDawnGMFGenerator_DawnEditPartFactoryClassName();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnEditPartProviderClassName
- * <em>Dawn Edit Part Provider Class Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Dawn Edit Part Provider Class Name</em>'.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnEditPartProviderClassName()
- * @see #getDawnGMFGenerator()
- * @generated
- */
- EAttribute getDawnGMFGenerator_DawnEditPartProviderClassName();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnEditPolicyProviderClassName
- * <em>Dawn Edit Policy Provider Class Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Dawn Edit Policy Provider Class Name</em>'.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getDawnEditPolicyProviderClassName()
- * @see #getDawnGMFGenerator()
- * @generated
- */
- EAttribute getDawnGMFGenerator_DawnEditPolicyProviderClassName();
-
- /**
- * Returns the meta object for the reference '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getGMFGenEditorGenerator
- * <em>GMF Gen Editor Generator</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>GMF Gen Editor Generator</em>'.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator#getGMFGenEditorGenerator()
- * @see #getDawnGMFGenerator()
- * @generated
- */
- EReference getDawnGMFGenerator_GMFGenEditorGenerator();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnEMFGenerator
- * <em>Dawn EMF Generator</em>}'. <!-- begin-user-doc -->
- *
- * @since 1.0<!-- end-user-doc -->
- * @return the meta object for class '<em>Dawn EMF Generator</em>'.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnEMFGenerator
- * @generated
- */
- EClass getDawnEMFGenerator();
-
- /**
- * 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
- */
- DawngenmodelFactory getDawngenmodelFactory();
-
- /**
- * <!-- 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 enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @generated
- */
- interface Literals
- {
- /**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGeneratorImpl
- * <em>Dawn Generator</em>}' class. <!-- begin-user-doc -->
- *
- * @since 1.0 <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGeneratorImpl
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawngenmodelPackageImpl#getDawnGenerator()
- * @generated
- */
- EClass DAWN_GENERATOR = eINSTANCE.getDawnGenerator();
-
- /**
- * The meta object literal for the '<em><b>Emf Fragmentgenerator</b></em>' containment reference feature. <!--
- * begin-user-doc -->
- *
- * @since 1.0<!-- end-user-doc -->
- * @generated
- */
- EReference DAWN_GENERATOR__EMF_FRAGMENTGENERATOR = eINSTANCE.getDawnGenerator_EmfFragmentgenerator();
-
- /**
- * The meta object literal for the '<em><b>Gmf Fragmentgenerator</b></em>' containment reference feature. <!--
- * begin-user-doc -->
- *
- * @since 1.0 <!-- end-user-doc -->
- * @generated
- */
- EReference DAWN_GENERATOR__GMF_FRAGMENTGENERATOR = eINSTANCE.getDawnGenerator_GmfFragmentgenerator();
-
- /**
- * The meta object literal for the '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnFragmentGeneratorImpl
- * <em>Dawn Fragment Generator</em>}' class. <!-- begin-user-doc -->
- *
- * @since 1.0<!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnFragmentGeneratorImpl
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawngenmodelPackageImpl#getDawnFragmentGenerator()
- * @generated
- */
- EClass DAWN_FRAGMENT_GENERATOR = eINSTANCE.getDawnFragmentGenerator();
-
- /**
- * The meta object literal for the '<em><b>Fragment Name</b></em>' attribute feature. <!-- begin-user-doc -->
- *
- * @since 1.0 <!-- end-user-doc -->
- * @generated
- */
- EAttribute DAWN_FRAGMENT_GENERATOR__FRAGMENT_NAME = eINSTANCE.getDawnFragmentGenerator_FragmentName();
-
- /**
- * The meta object literal for the '<em><b>Dawn Editor Class Name</b></em>' attribute feature. <!-- begin-user-doc
- * -->
- *
- * @since 1.0 <!-- end-user-doc -->
- * @generated
- */
- EAttribute DAWN_FRAGMENT_GENERATOR__DAWN_EDITOR_CLASS_NAME = eINSTANCE
- .getDawnFragmentGenerator_DawnEditorClassName();
-
- /**
- * The meta object literal for the '<em><b>Emf Gen Model</b></em>' reference feature. <!-- begin-user-doc -->
- *
- * @since 1.0<!-- end-user-doc -->
- * @generated
- */
- EReference DAWN_FRAGMENT_GENERATOR__EMF_GEN_MODEL = eINSTANCE.getDawnFragmentGenerator_EmfGenModel();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGMFGeneratorImpl
- * <em>Dawn GMF Generator</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGMFGeneratorImpl
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawngenmodelPackageImpl#getDawnGMFGenerator()
- * @generated
- */
- EClass DAWN_GMF_GENERATOR = eINSTANCE.getDawnGMFGenerator();
-
- /**
- * The meta object literal for the '<em><b>Dawn Document Provider Class Name</b></em>' attribute feature. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DAWN_GMF_GENERATOR__DAWN_DOCUMENT_PROVIDER_CLASS_NAME = eINSTANCE
- .getDawnGMFGenerator_DawnDocumentProviderClassName();
-
- /**
- * The meta object literal for the '<em><b>Dawn Editor Util Class Name</b></em>' attribute feature. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DAWN_GMF_GENERATOR__DAWN_EDITOR_UTIL_CLASS_NAME = eINSTANCE
- .getDawnGMFGenerator_DawnEditorUtilClassName();
-
- /**
- * The meta object literal for the '<em><b>Dawn Creation Wizard Class Name</b></em>' attribute feature. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DAWN_GMF_GENERATOR__DAWN_CREATION_WIZARD_CLASS_NAME = eINSTANCE
- .getDawnGMFGenerator_DawnCreationWizardClassName();
-
- /**
- * The meta object literal for the '<em><b>Dawn Canonical Editing Policy Class Name</b></em>' attribute feature.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DAWN_GMF_GENERATOR__DAWN_CANONICAL_EDITING_POLICY_CLASS_NAME = eINSTANCE
- .getDawnGMFGenerator_DawnCanonicalEditingPolicyClassName();
-
- /**
- * The meta object literal for the '<em><b>Dawn Diagram Edit Part Class Name</b></em>' attribute feature. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DAWN_GMF_GENERATOR__DAWN_DIAGRAM_EDIT_PART_CLASS_NAME = eINSTANCE
- .getDawnGMFGenerator_DawnDiagramEditPartClassName();
-
- /**
- * The meta object literal for the '<em><b>Dawn Edit Part Factory Class Name</b></em>' attribute feature. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DAWN_GMF_GENERATOR__DAWN_EDIT_PART_FACTORY_CLASS_NAME = eINSTANCE
- .getDawnGMFGenerator_DawnEditPartFactoryClassName();
-
- /**
- * The meta object literal for the '<em><b>Dawn Edit Part Provider Class Name</b></em>' attribute feature. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DAWN_GMF_GENERATOR__DAWN_EDIT_PART_PROVIDER_CLASS_NAME = eINSTANCE
- .getDawnGMFGenerator_DawnEditPartProviderClassName();
-
- /**
- * The meta object literal for the '<em><b>Dawn Edit Policy Provider Class Name</b></em>' attribute feature. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DAWN_GMF_GENERATOR__DAWN_EDIT_POLICY_PROVIDER_CLASS_NAME = eINSTANCE
- .getDawnGMFGenerator_DawnEditPolicyProviderClassName();
-
- /**
- * The meta object literal for the '<em><b>GMF Gen Editor Generator</b></em>' reference feature. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @generated
- */
- EReference DAWN_GMF_GENERATOR__GMF_GEN_EDITOR_GENERATOR = eINSTANCE.getDawnGMFGenerator_GMFGenEditorGenerator();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnEMFGeneratorImpl
- * <em>Dawn EMF Generator</em>}' class. <!-- begin-user-doc -->
- *
- * @since 1.0<!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnEMFGeneratorImpl
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawngenmodelPackageImpl#getDawnEMFGenerator()
- * @generated
- */
- EClass DAWN_EMF_GENERATOR = eINSTANCE.getDawnEMFGenerator();
-
- }
-
-} // DawngenmodelPackage
+/**
+ * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Martin Fluegge - initial API and implementation
+ */
+package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel;
+
+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 enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface DawngenmodelPackage extends EPackage
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
+
+ /**
+ * The package name. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNAME = "dawngenmodel";
+
+ /**
+ * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNS_URI = "http://www.eclipse.org/emf/cdo/dawn/2010/GenModel";
+
+ /**
+ * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNS_PREFIX = "dawngenmodel";
+
+ /**
+ * The singleton instance of the package. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ DawngenmodelPackage eINSTANCE = org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawngenmodelPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGeneratorImpl
+ * <em>Dawn Generator</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGeneratorImpl
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawngenmodelPackageImpl#getDawnGenerator()
+ * @generated
+ * @since 1.0
+ */
+ int DAWN_GENERATOR = 0;
+
+ /**
+ * The feature id for the '<em><b>Conflict Color</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ * @since 1.0
+ */
+ int DAWN_GENERATOR__CONFLICT_COLOR = 0;
+
+ /**
+ * The feature id for the '<em><b>Local Lock Color</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ * @since 1.0
+ */
+ int DAWN_GENERATOR__LOCAL_LOCK_COLOR = 1;
+
+ /**
+ * The feature id for the '<em><b>Remote Lock Color</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ * @since 1.0
+ */
+ int DAWN_GENERATOR__REMOTE_LOCK_COLOR = 2;
+
+ /**
+ * The number of structural features of the '<em>Dawn Generator</em>' class. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ * @since 1.0
+ */
+ int DAWN_GENERATOR_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnFragmentGeneratorImpl
+ * <em>Dawn Fragment Generator</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnFragmentGeneratorImpl
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawngenmodelPackageImpl#getDawnFragmentGenerator()
+ * @generated
+ * @since 1.0
+ */
+ int DAWN_FRAGMENT_GENERATOR = 1;
+
+ /**
+ * The feature id for the '<em><b>Fragment Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ * @since 1.0
+ */
+ int DAWN_FRAGMENT_GENERATOR__FRAGMENT_NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Dawn Editor Class Name</b></em>' attribute. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ * @since 1.0
+ */
+ int DAWN_FRAGMENT_GENERATOR__DAWN_EDITOR_CLASS_NAME = 1;
+
+ /**
+ * The feature id for the '<em><b>Dawn Generator</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ * @since 1.0
+ */
+ int DAWN_FRAGMENT_GENERATOR__DAWN_GENERATOR = 2;
+
+ /**
+ * The number of structural features of the '<em>Dawn Fragment Generator</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ * @since 1.0
+ */
+ int DAWN_FRAGMENT_GENERATOR_FEATURE_COUNT = 3;
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator
+ * <em>Dawn Generator</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Dawn Generator</em>'.
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator
+ * @generated
+ * @since 1.0
+ */
+ EClass getDawnGenerator();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getConflictColor <em>Conflict Color</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Conflict Color</em>'.
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getConflictColor()
+ * @see #getDawnGenerator()
+ * @generated
+ * @since 1.0
+ */
+ EAttribute getDawnGenerator_ConflictColor();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getLocalLockColor <em>Local Lock Color</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Local Lock Color</em>'.
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getLocalLockColor()
+ * @see #getDawnGenerator()
+ * @generated
+ * @since 1.0
+ */
+ EAttribute getDawnGenerator_LocalLockColor();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getRemoteLockColor <em>Remote Lock Color</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Remote Lock Color</em>'.
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator#getRemoteLockColor()
+ * @see #getDawnGenerator()
+ * @generated
+ * @since 1.0
+ */
+ EAttribute getDawnGenerator_RemoteLockColor();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator
+ * <em>Dawn Fragment Generator</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Dawn Fragment Generator</em>'.
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator
+ * @generated
+ * @since 1.0
+ */
+ EClass getDawnFragmentGenerator();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getFragmentName <em>Fragment Name</em>}
+ * '. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Fragment Name</em>'.
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getFragmentName()
+ * @see #getDawnFragmentGenerator()
+ * @generated
+ * @since 1.0
+ */
+ EAttribute getDawnFragmentGenerator_FragmentName();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getDawnEditorClassName
+ * <em>Dawn Editor Class Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Dawn Editor Class Name</em>'.
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getDawnEditorClassName()
+ * @see #getDawnFragmentGenerator()
+ * @generated
+ * @since 1.0
+ */
+ EAttribute getDawnFragmentGenerator_DawnEditorClassName();
+
+ /**
+ * Returns the meta object for the reference '
+ * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getDawnGenerator
+ * <em>Dawn Generator</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the reference '<em>Dawn Generator</em>'.
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator#getDawnGenerator()
+ * @see #getDawnFragmentGenerator()
+ * @generated
+ * @since 1.0
+ */
+ EReference getDawnFragmentGenerator_DawnGenerator();
+
+ /**
+ * 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
+ */
+ DawngenmodelFactory getDawngenmodelFactory();
+
+ /**
+ * <!-- 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 enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ interface Literals
+ {
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGeneratorImpl
+ * <em>Dawn Generator</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGeneratorImpl
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawngenmodelPackageImpl#getDawnGenerator()
+ * @generated
+ * @since 1.0
+ */
+ EClass DAWN_GENERATOR = eINSTANCE.getDawnGenerator();
+
+ /**
+ * The meta object literal for the '<em><b>Conflict Color</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @since 1.0
+ */
+ EAttribute DAWN_GENERATOR__CONFLICT_COLOR = eINSTANCE.getDawnGenerator_ConflictColor();
+
+ /**
+ * The meta object literal for the '<em><b>Local Lock Color</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @since 1.0
+ */
+ EAttribute DAWN_GENERATOR__LOCAL_LOCK_COLOR = eINSTANCE.getDawnGenerator_LocalLockColor();
+
+ /**
+ * The meta object literal for the '<em><b>Remote Lock Color</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @since 1.0
+ */
+ EAttribute DAWN_GENERATOR__REMOTE_LOCK_COLOR = eINSTANCE.getDawnGenerator_RemoteLockColor();
+
+ /**
+ * The meta object literal for the '
+ * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnFragmentGeneratorImpl
+ * <em>Dawn Fragment Generator</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnFragmentGeneratorImpl
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawngenmodelPackageImpl#getDawnFragmentGenerator()
+ * @generated
+ * @since 1.0
+ */
+ EClass DAWN_FRAGMENT_GENERATOR = eINSTANCE.getDawnFragmentGenerator();
+
+ /**
+ * The meta object literal for the '<em><b>Fragment Name</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @since 1.0
+ */
+ EAttribute DAWN_FRAGMENT_GENERATOR__FRAGMENT_NAME = eINSTANCE.getDawnFragmentGenerator_FragmentName();
+
+ /**
+ * The meta object literal for the '<em><b>Dawn Editor Class Name</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @since 1.0
+ */
+ EAttribute DAWN_FRAGMENT_GENERATOR__DAWN_EDITOR_CLASS_NAME = eINSTANCE
+ .getDawnFragmentGenerator_DawnEditorClassName();
+
+ /**
+ * The meta object literal for the '<em><b>Dawn Generator</b></em>' reference feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @since 1.0
+ */
+ EReference DAWN_FRAGMENT_GENERATOR__DAWN_GENERATOR = eINSTANCE.getDawnFragmentGenerator_DawnGenerator();
+
+ }
+
+} // DawngenmodelPackage
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawnEMFGeneratorImpl.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawnEMFGeneratorImpl.java
deleted file mode 100644
index 959aad1b4d..0000000000
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawnEMFGeneratorImpl.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Martin Fluegge - initial API and implementation
- */
-package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl;
-
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnEMFGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage;
-
-import org.eclipse.emf.ecore.EClass;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Dawn EMF Generator</b></em>'.
- *
- * @since 1.0<!-- end-user-doc -->
- * <p>
- * </p>
- * @generated
- */
-public class DawnEMFGeneratorImpl extends DawnFragmentGeneratorImpl implements DawnEMFGenerator
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public static final String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected DawnEMFGeneratorImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return DawngenmodelPackage.Literals.DAWN_EMF_GENERATOR;
- }
-
-} // DawnEMFGeneratorImpl
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawnFragmentGeneratorImpl.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawnFragmentGeneratorImpl.java
index 7bf69fe3c2..6d2be7a13f 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawnFragmentGeneratorImpl.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawnFragmentGeneratorImpl.java
@@ -1,323 +1,336 @@
-/**
- * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Martin Fluegge - initial API and implementation
- */
-package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl;
-
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage;
-
-import org.eclipse.emf.codegen.ecore.genmodel.GenModel;
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Dawn Fragment Generator</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnFragmentGeneratorImpl#getFragmentName <em>Fragment
- * Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnFragmentGeneratorImpl#getDawnEditorClassName <em>
- * Dawn Editor Class Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnFragmentGeneratorImpl#getEmfGenModel <em>Emf Gen
- * Model</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DawnFragmentGeneratorImpl extends EObjectImpl implements DawnFragmentGenerator
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public static final String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
-
- /**
- * The default value of the '{@link #getFragmentName() <em>Fragment Name</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getFragmentName()
- * @generated
- * @ordered
- */
- protected static final String FRAGMENT_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getFragmentName() <em>Fragment Name</em>}' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getFragmentName()
- * @generated
- * @ordered
- */
- protected String fragmentName = FRAGMENT_NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDawnEditorClassName() <em>Dawn Editor Class Name</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDawnEditorClassName()
- * @generated
- * @ordered
- */
- protected static final String DAWN_EDITOR_CLASS_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDawnEditorClassName() <em>Dawn Editor Class Name</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDawnEditorClassName()
- * @generated
- * @ordered
- */
- protected String dawnEditorClassName = DAWN_EDITOR_CLASS_NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getEmfGenModel() <em>Emf Gen Model</em>}' reference. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getEmfGenModel()
- * @generated
- * @ordered
- */
- protected GenModel emfGenModel;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected DawnFragmentGeneratorImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return DawngenmodelPackage.Literals.DAWN_FRAGMENT_GENERATOR;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getFragmentName()
- {
- return fragmentName;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setFragmentName(String newFragmentName)
- {
- String oldFragmentName = fragmentName;
- fragmentName = newFragmentName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__FRAGMENT_NAME,
- oldFragmentName, fragmentName));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getDawnEditorClassName()
- {
- return dawnEditorClassName;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDawnEditorClassName(String newDawnEditorClassName)
- {
- String oldDawnEditorClassName = dawnEditorClassName;
- dawnEditorClassName = newDawnEditorClassName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__DAWN_EDITOR_CLASS_NAME, oldDawnEditorClassName,
- dawnEditorClassName));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public GenModel getEmfGenModel()
- {
- if (emfGenModel != null && emfGenModel.eIsProxy())
- {
- InternalEObject oldEmfGenModel = (InternalEObject)emfGenModel;
- emfGenModel = (GenModel)eResolveProxy(oldEmfGenModel);
- if (emfGenModel != oldEmfGenModel)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE,
- DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__EMF_GEN_MODEL, oldEmfGenModel, emfGenModel));
- }
- }
- return emfGenModel;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public GenModel basicGetEmfGenModel()
- {
- return emfGenModel;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setEmfGenModel(GenModel newEmfGenModel)
- {
- GenModel oldEmfGenModel = emfGenModel;
- emfGenModel = newEmfGenModel;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__EMF_GEN_MODEL,
- oldEmfGenModel, emfGenModel));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__FRAGMENT_NAME:
- return getFragmentName();
- case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__DAWN_EDITOR_CLASS_NAME:
- return getDawnEditorClassName();
- case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__EMF_GEN_MODEL:
- if (resolve)
- return getEmfGenModel();
- return basicGetEmfGenModel();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__FRAGMENT_NAME:
- setFragmentName((String)newValue);
- return;
- case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__DAWN_EDITOR_CLASS_NAME:
- setDawnEditorClassName((String)newValue);
- return;
- case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__EMF_GEN_MODEL:
- setEmfGenModel((GenModel)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__FRAGMENT_NAME:
- setFragmentName(FRAGMENT_NAME_EDEFAULT);
- return;
- case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__DAWN_EDITOR_CLASS_NAME:
- setDawnEditorClassName(DAWN_EDITOR_CLASS_NAME_EDEFAULT);
- return;
- case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__EMF_GEN_MODEL:
- setEmfGenModel((GenModel)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__FRAGMENT_NAME:
- return FRAGMENT_NAME_EDEFAULT == null ? fragmentName != null : !FRAGMENT_NAME_EDEFAULT.equals(fragmentName);
- case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__DAWN_EDITOR_CLASS_NAME:
- return DAWN_EDITOR_CLASS_NAME_EDEFAULT == null ? dawnEditorClassName != null : !DAWN_EDITOR_CLASS_NAME_EDEFAULT
- .equals(dawnEditorClassName);
- case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__EMF_GEN_MODEL:
- return emfGenModel != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (fragmentName: ");
- result.append(fragmentName);
- result.append(", dawnEditorClassName: ");
- result.append(dawnEditorClassName);
- result.append(')');
- return result.toString();
- }
-
-} // DawnFragmentGeneratorImpl
+/**
+ * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Martin Fluegge - initial API and implementation
+ */
+package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl;
+
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator;
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator;
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Dawn Fragment Generator</b></em>'. <!--
+ * end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnFragmentGeneratorImpl#getFragmentName <em>Fragment
+ * Name</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnFragmentGeneratorImpl#getDawnEditorClassName <em>
+ * Dawn Editor Class Name</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnFragmentGeneratorImpl#getDawnGenerator <em>Dawn
+ * Generator</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ * @since 1.0
+ */
+public class DawnFragmentGeneratorImpl extends EObjectImpl implements DawnFragmentGenerator
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public static final String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
+
+ /**
+ * The default value of the '{@link #getFragmentName() <em>Fragment Name</em>}' attribute. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getFragmentName()
+ * @generated
+ * @ordered
+ */
+ protected static final String FRAGMENT_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getFragmentName() <em>Fragment Name</em>}' attribute. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @see #getFragmentName()
+ * @generated
+ * @ordered
+ */
+ protected String fragmentName = FRAGMENT_NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDawnEditorClassName() <em>Dawn Editor Class Name</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getDawnEditorClassName()
+ * @generated
+ * @ordered
+ */
+ protected static final String DAWN_EDITOR_CLASS_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDawnEditorClassName() <em>Dawn Editor Class Name</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getDawnEditorClassName()
+ * @generated
+ * @ordered
+ */
+ protected String dawnEditorClassName = DAWN_EDITOR_CLASS_NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getDawnGenerator() <em>Dawn Generator</em>}' reference. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getDawnGenerator()
+ * @generated
+ * @ordered
+ */
+ protected DawnGenerator dawnGenerator;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected DawnFragmentGeneratorImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return DawngenmodelPackage.Literals.DAWN_FRAGMENT_GENERATOR;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getFragmentName()
+ {
+ return fragmentName;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setFragmentName(String newFragmentName)
+ {
+ String oldFragmentName = fragmentName;
+ fragmentName = newFragmentName;
+ if (eNotificationRequired())
+ {
+ eNotify(new ENotificationImpl(this, Notification.SET, DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__FRAGMENT_NAME,
+ oldFragmentName, fragmentName));
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getDawnEditorClassName()
+ {
+ return dawnEditorClassName;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setDawnEditorClassName(String newDawnEditorClassName)
+ {
+ String oldDawnEditorClassName = dawnEditorClassName;
+ dawnEditorClassName = newDawnEditorClassName;
+ if (eNotificationRequired())
+ {
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__DAWN_EDITOR_CLASS_NAME, oldDawnEditorClassName,
+ dawnEditorClassName));
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public DawnGenerator getDawnGenerator()
+ {
+ if (dawnGenerator != null && dawnGenerator.eIsProxy())
+ {
+ InternalEObject oldDawnGenerator = (InternalEObject)dawnGenerator;
+ dawnGenerator = (DawnGenerator)eResolveProxy(oldDawnGenerator);
+ if (dawnGenerator != oldDawnGenerator)
+ {
+ if (eNotificationRequired())
+ {
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__DAWN_GENERATOR, oldDawnGenerator, dawnGenerator));
+ }
+ }
+ }
+ return dawnGenerator;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public DawnGenerator basicGetDawnGenerator()
+ {
+ return dawnGenerator;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setDawnGenerator(DawnGenerator newDawnGenerator)
+ {
+ DawnGenerator oldDawnGenerator = dawnGenerator;
+ dawnGenerator = newDawnGenerator;
+ if (eNotificationRequired())
+ {
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__DAWN_GENERATOR, oldDawnGenerator, dawnGenerator));
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__FRAGMENT_NAME:
+ return getFragmentName();
+ case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__DAWN_EDITOR_CLASS_NAME:
+ return getDawnEditorClassName();
+ case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__DAWN_GENERATOR:
+ if (resolve)
+ {
+ return getDawnGenerator();
+ }
+ return basicGetDawnGenerator();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__FRAGMENT_NAME:
+ setFragmentName((String)newValue);
+ return;
+ case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__DAWN_EDITOR_CLASS_NAME:
+ setDawnEditorClassName((String)newValue);
+ return;
+ case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__DAWN_GENERATOR:
+ setDawnGenerator((DawnGenerator)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__FRAGMENT_NAME:
+ setFragmentName(FRAGMENT_NAME_EDEFAULT);
+ return;
+ case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__DAWN_EDITOR_CLASS_NAME:
+ setDawnEditorClassName(DAWN_EDITOR_CLASS_NAME_EDEFAULT);
+ return;
+ case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__DAWN_GENERATOR:
+ setDawnGenerator((DawnGenerator)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__FRAGMENT_NAME:
+ return FRAGMENT_NAME_EDEFAULT == null ? fragmentName != null : !FRAGMENT_NAME_EDEFAULT.equals(fragmentName);
+ case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__DAWN_EDITOR_CLASS_NAME:
+ return DAWN_EDITOR_CLASS_NAME_EDEFAULT == null ? dawnEditorClassName != null : !DAWN_EDITOR_CLASS_NAME_EDEFAULT
+ .equals(dawnEditorClassName);
+ case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR__DAWN_GENERATOR:
+ return dawnGenerator != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy())
+ {
+ return super.toString();
+ }
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (fragmentName: ");
+ result.append(fragmentName);
+ result.append(", dawnEditorClassName: ");
+ result.append(dawnEditorClassName);
+ result.append(')');
+ return result.toString();
+ }
+
+} // DawnFragmentGeneratorImpl
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawnGMFGeneratorImpl.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawnGMFGeneratorImpl.java
deleted file mode 100644
index 8fff5a4da3..0000000000
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawnGMFGeneratorImpl.java
+++ /dev/null
@@ -1,693 +0,0 @@
-/**
- * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Martin Fluegge - initial API and implementation
- */
-package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl;
-
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.gmf.codegen.gmfgen.GenEditorGenerator;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Dawn GMF Generator</b></em>'. <!-- end-user-doc
- * -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGMFGeneratorImpl#getFragmentName <em>Fragment Name
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGMFGeneratorImpl#getDawnEditorClassName <em>Dawn
- * Editor Class Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGMFGeneratorImpl#getDawnDocumentProviderClassName
- * <em>Dawn Document Provider Class Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGMFGeneratorImpl#getDawnEditorUtilClassName <em>
- * Dawn Editor Util Class Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGMFGeneratorImpl#getDawnCreationWizardClassName
- * <em>Dawn Creation Wizard Class Name</em>}</li>
- * <li>
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGMFGeneratorImpl#getDawnCanonicalEditingPolicyClassName
- * <em>Dawn Canonical Editing Policy Class Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGMFGeneratorImpl#getDawnDiagramEditPartClassName
- * <em>Dawn Diagram Edit Part Class Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGMFGeneratorImpl#getDawnEditPartFactoryClassName
- * <em>Dawn Edit Part Factory Class Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGMFGeneratorImpl#getDawnEditPartProviderClassName
- * <em>Dawn Edit Part Provider Class Name</em>}</li>
- * <li>
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGMFGeneratorImpl#getDawnEditPolicyProviderClassName
- * <em>Dawn Edit Policy Provider Class Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGMFGeneratorImpl#getGMFGenEditorGenerator <em>GMF
- * Gen Editor Generator</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DawnGMFGeneratorImpl extends DawnFragmentGeneratorImpl implements DawnGMFGenerator
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public static final String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
-
- /**
- * The default value of the '{@link #getDawnDocumentProviderClassName() <em>Dawn Document Provider Class Name</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDawnDocumentProviderClassName()
- * @generated
- * @ordered
- */
- protected static final String DAWN_DOCUMENT_PROVIDER_CLASS_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDawnDocumentProviderClassName() <em>Dawn Document Provider Class Name</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDawnDocumentProviderClassName()
- * @generated
- * @ordered
- */
- protected String dawnDocumentProviderClassName = DAWN_DOCUMENT_PROVIDER_CLASS_NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDawnEditorUtilClassName() <em>Dawn Editor Util Class Name</em>}' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDawnEditorUtilClassName()
- * @generated
- * @ordered
- */
- protected static final String DAWN_EDITOR_UTIL_CLASS_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDawnEditorUtilClassName() <em>Dawn Editor Util Class Name</em>}' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDawnEditorUtilClassName()
- * @generated
- * @ordered
- */
- protected String dawnEditorUtilClassName = DAWN_EDITOR_UTIL_CLASS_NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDawnCreationWizardClassName() <em>Dawn Creation Wizard Class Name</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDawnCreationWizardClassName()
- * @generated
- * @ordered
- */
- protected static final String DAWN_CREATION_WIZARD_CLASS_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDawnCreationWizardClassName() <em>Dawn Creation Wizard Class Name</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDawnCreationWizardClassName()
- * @generated
- * @ordered
- */
- protected String dawnCreationWizardClassName = DAWN_CREATION_WIZARD_CLASS_NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDawnCanonicalEditingPolicyClassName()
- * <em>Dawn Canonical Editing Policy Class Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDawnCanonicalEditingPolicyClassName()
- * @generated
- * @ordered
- */
- protected static final String DAWN_CANONICAL_EDITING_POLICY_CLASS_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDawnCanonicalEditingPolicyClassName()
- * <em>Dawn Canonical Editing Policy Class Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDawnCanonicalEditingPolicyClassName()
- * @generated
- * @ordered
- */
- protected String dawnCanonicalEditingPolicyClassName = DAWN_CANONICAL_EDITING_POLICY_CLASS_NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDawnDiagramEditPartClassName() <em>Dawn Diagram Edit Part Class Name</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDawnDiagramEditPartClassName()
- * @generated
- * @ordered
- */
- protected static final String DAWN_DIAGRAM_EDIT_PART_CLASS_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDawnDiagramEditPartClassName() <em>Dawn Diagram Edit Part Class Name</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDawnDiagramEditPartClassName()
- * @generated
- * @ordered
- */
- protected String dawnDiagramEditPartClassName = DAWN_DIAGRAM_EDIT_PART_CLASS_NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDawnEditPartFactoryClassName() <em>Dawn Edit Part Factory Class Name</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDawnEditPartFactoryClassName()
- * @generated
- * @ordered
- */
- protected static final String DAWN_EDIT_PART_FACTORY_CLASS_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDawnEditPartFactoryClassName() <em>Dawn Edit Part Factory Class Name</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDawnEditPartFactoryClassName()
- * @generated
- * @ordered
- */
- protected String dawnEditPartFactoryClassName = DAWN_EDIT_PART_FACTORY_CLASS_NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDawnEditPartProviderClassName() <em>Dawn Edit Part Provider Class Name</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDawnEditPartProviderClassName()
- * @generated
- * @ordered
- */
- protected static final String DAWN_EDIT_PART_PROVIDER_CLASS_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDawnEditPartProviderClassName() <em>Dawn Edit Part Provider Class Name</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDawnEditPartProviderClassName()
- * @generated
- * @ordered
- */
- protected String dawnEditPartProviderClassName = DAWN_EDIT_PART_PROVIDER_CLASS_NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDawnEditPolicyProviderClassName()
- * <em>Dawn Edit Policy Provider Class Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDawnEditPolicyProviderClassName()
- * @generated
- * @ordered
- */
- protected static final String DAWN_EDIT_POLICY_PROVIDER_CLASS_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDawnEditPolicyProviderClassName()
- * <em>Dawn Edit Policy Provider Class Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDawnEditPolicyProviderClassName()
- * @generated
- * @ordered
- */
- protected String dawnEditPolicyProviderClassName = DAWN_EDIT_POLICY_PROVIDER_CLASS_NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getGMFGenEditorGenerator() <em>GMF Gen Editor Generator</em>}' reference. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getGMFGenEditorGenerator()
- * @generated
- * @ordered
- */
- protected GenEditorGenerator gmfGenEditorGenerator;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected DawnGMFGeneratorImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return DawngenmodelPackage.Literals.DAWN_GMF_GENERATOR;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getDawnDocumentProviderClassName()
- {
- return dawnDocumentProviderClassName;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDawnDocumentProviderClassName(String newDawnDocumentProviderClassName)
- {
- String oldDawnDocumentProviderClassName = dawnDocumentProviderClassName;
- dawnDocumentProviderClassName = newDawnDocumentProviderClassName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_DOCUMENT_PROVIDER_CLASS_NAME, oldDawnDocumentProviderClassName,
- dawnDocumentProviderClassName));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getDawnEditorUtilClassName()
- {
- return dawnEditorUtilClassName;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDawnEditorUtilClassName(String newDawnEditorUtilClassName)
- {
- String oldDawnEditorUtilClassName = dawnEditorUtilClassName;
- dawnEditorUtilClassName = newDawnEditorUtilClassName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDITOR_UTIL_CLASS_NAME, oldDawnEditorUtilClassName,
- dawnEditorUtilClassName));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getDawnCreationWizardClassName()
- {
- return dawnCreationWizardClassName;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDawnCreationWizardClassName(String newDawnCreationWizardClassName)
- {
- String oldDawnCreationWizardClassName = dawnCreationWizardClassName;
- dawnCreationWizardClassName = newDawnCreationWizardClassName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_CREATION_WIZARD_CLASS_NAME, oldDawnCreationWizardClassName,
- dawnCreationWizardClassName));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getDawnCanonicalEditingPolicyClassName()
- {
- return dawnCanonicalEditingPolicyClassName;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDawnCanonicalEditingPolicyClassName(String newDawnCanonicalEditingPolicyClassName)
- {
- String oldDawnCanonicalEditingPolicyClassName = dawnCanonicalEditingPolicyClassName;
- dawnCanonicalEditingPolicyClassName = newDawnCanonicalEditingPolicyClassName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_CANONICAL_EDITING_POLICY_CLASS_NAME,
- oldDawnCanonicalEditingPolicyClassName, dawnCanonicalEditingPolicyClassName));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getDawnDiagramEditPartClassName()
- {
- return dawnDiagramEditPartClassName;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDawnDiagramEditPartClassName(String newDawnDiagramEditPartClassName)
- {
- String oldDawnDiagramEditPartClassName = dawnDiagramEditPartClassName;
- dawnDiagramEditPartClassName = newDawnDiagramEditPartClassName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_DIAGRAM_EDIT_PART_CLASS_NAME, oldDawnDiagramEditPartClassName,
- dawnDiagramEditPartClassName));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getDawnEditPartFactoryClassName()
- {
- return dawnEditPartFactoryClassName;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDawnEditPartFactoryClassName(String newDawnEditPartFactoryClassName)
- {
- String oldDawnEditPartFactoryClassName = dawnEditPartFactoryClassName;
- dawnEditPartFactoryClassName = newDawnEditPartFactoryClassName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDIT_PART_FACTORY_CLASS_NAME, oldDawnEditPartFactoryClassName,
- dawnEditPartFactoryClassName));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getDawnEditPartProviderClassName()
- {
- return dawnEditPartProviderClassName;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDawnEditPartProviderClassName(String newDawnEditPartProviderClassName)
- {
- String oldDawnEditPartProviderClassName = dawnEditPartProviderClassName;
- dawnEditPartProviderClassName = newDawnEditPartProviderClassName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDIT_PART_PROVIDER_CLASS_NAME, oldDawnEditPartProviderClassName,
- dawnEditPartProviderClassName));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getDawnEditPolicyProviderClassName()
- {
- return dawnEditPolicyProviderClassName;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDawnEditPolicyProviderClassName(String newDawnEditPolicyProviderClassName)
- {
- String oldDawnEditPolicyProviderClassName = dawnEditPolicyProviderClassName;
- dawnEditPolicyProviderClassName = newDawnEditPolicyProviderClassName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDIT_POLICY_PROVIDER_CLASS_NAME,
- oldDawnEditPolicyProviderClassName, dawnEditPolicyProviderClassName));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public GenEditorGenerator getGMFGenEditorGenerator()
- {
- if (gmfGenEditorGenerator != null && gmfGenEditorGenerator.eIsProxy())
- {
- InternalEObject oldGMFGenEditorGenerator = (InternalEObject)gmfGenEditorGenerator;
- gmfGenEditorGenerator = (GenEditorGenerator)eResolveProxy(oldGMFGenEditorGenerator);
- if (gmfGenEditorGenerator != oldGMFGenEditorGenerator)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE,
- DawngenmodelPackage.DAWN_GMF_GENERATOR__GMF_GEN_EDITOR_GENERATOR, oldGMFGenEditorGenerator,
- gmfGenEditorGenerator));
- }
- }
- return gmfGenEditorGenerator;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public GenEditorGenerator basicGetGMFGenEditorGenerator()
- {
- return gmfGenEditorGenerator;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setGMFGenEditorGenerator(GenEditorGenerator newGMFGenEditorGenerator)
- {
- GenEditorGenerator oldGMFGenEditorGenerator = gmfGenEditorGenerator;
- gmfGenEditorGenerator = newGMFGenEditorGenerator;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DawngenmodelPackage.DAWN_GMF_GENERATOR__GMF_GEN_EDITOR_GENERATOR, oldGMFGenEditorGenerator,
- gmfGenEditorGenerator));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_DOCUMENT_PROVIDER_CLASS_NAME:
- return getDawnDocumentProviderClassName();
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDITOR_UTIL_CLASS_NAME:
- return getDawnEditorUtilClassName();
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_CREATION_WIZARD_CLASS_NAME:
- return getDawnCreationWizardClassName();
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_CANONICAL_EDITING_POLICY_CLASS_NAME:
- return getDawnCanonicalEditingPolicyClassName();
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_DIAGRAM_EDIT_PART_CLASS_NAME:
- return getDawnDiagramEditPartClassName();
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDIT_PART_FACTORY_CLASS_NAME:
- return getDawnEditPartFactoryClassName();
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDIT_PART_PROVIDER_CLASS_NAME:
- return getDawnEditPartProviderClassName();
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDIT_POLICY_PROVIDER_CLASS_NAME:
- return getDawnEditPolicyProviderClassName();
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__GMF_GEN_EDITOR_GENERATOR:
- if (resolve)
- return getGMFGenEditorGenerator();
- return basicGetGMFGenEditorGenerator();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_DOCUMENT_PROVIDER_CLASS_NAME:
- setDawnDocumentProviderClassName((String)newValue);
- return;
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDITOR_UTIL_CLASS_NAME:
- setDawnEditorUtilClassName((String)newValue);
- return;
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_CREATION_WIZARD_CLASS_NAME:
- setDawnCreationWizardClassName((String)newValue);
- return;
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_CANONICAL_EDITING_POLICY_CLASS_NAME:
- setDawnCanonicalEditingPolicyClassName((String)newValue);
- return;
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_DIAGRAM_EDIT_PART_CLASS_NAME:
- setDawnDiagramEditPartClassName((String)newValue);
- return;
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDIT_PART_FACTORY_CLASS_NAME:
- setDawnEditPartFactoryClassName((String)newValue);
- return;
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDIT_PART_PROVIDER_CLASS_NAME:
- setDawnEditPartProviderClassName((String)newValue);
- return;
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDIT_POLICY_PROVIDER_CLASS_NAME:
- setDawnEditPolicyProviderClassName((String)newValue);
- return;
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__GMF_GEN_EDITOR_GENERATOR:
- setGMFGenEditorGenerator((GenEditorGenerator)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_DOCUMENT_PROVIDER_CLASS_NAME:
- setDawnDocumentProviderClassName(DAWN_DOCUMENT_PROVIDER_CLASS_NAME_EDEFAULT);
- return;
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDITOR_UTIL_CLASS_NAME:
- setDawnEditorUtilClassName(DAWN_EDITOR_UTIL_CLASS_NAME_EDEFAULT);
- return;
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_CREATION_WIZARD_CLASS_NAME:
- setDawnCreationWizardClassName(DAWN_CREATION_WIZARD_CLASS_NAME_EDEFAULT);
- return;
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_CANONICAL_EDITING_POLICY_CLASS_NAME:
- setDawnCanonicalEditingPolicyClassName(DAWN_CANONICAL_EDITING_POLICY_CLASS_NAME_EDEFAULT);
- return;
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_DIAGRAM_EDIT_PART_CLASS_NAME:
- setDawnDiagramEditPartClassName(DAWN_DIAGRAM_EDIT_PART_CLASS_NAME_EDEFAULT);
- return;
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDIT_PART_FACTORY_CLASS_NAME:
- setDawnEditPartFactoryClassName(DAWN_EDIT_PART_FACTORY_CLASS_NAME_EDEFAULT);
- return;
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDIT_PART_PROVIDER_CLASS_NAME:
- setDawnEditPartProviderClassName(DAWN_EDIT_PART_PROVIDER_CLASS_NAME_EDEFAULT);
- return;
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDIT_POLICY_PROVIDER_CLASS_NAME:
- setDawnEditPolicyProviderClassName(DAWN_EDIT_POLICY_PROVIDER_CLASS_NAME_EDEFAULT);
- return;
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__GMF_GEN_EDITOR_GENERATOR:
- setGMFGenEditorGenerator((GenEditorGenerator)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_DOCUMENT_PROVIDER_CLASS_NAME:
- return DAWN_DOCUMENT_PROVIDER_CLASS_NAME_EDEFAULT == null ? dawnDocumentProviderClassName != null
- : !DAWN_DOCUMENT_PROVIDER_CLASS_NAME_EDEFAULT.equals(dawnDocumentProviderClassName);
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDITOR_UTIL_CLASS_NAME:
- return DAWN_EDITOR_UTIL_CLASS_NAME_EDEFAULT == null ? dawnEditorUtilClassName != null
- : !DAWN_EDITOR_UTIL_CLASS_NAME_EDEFAULT.equals(dawnEditorUtilClassName);
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_CREATION_WIZARD_CLASS_NAME:
- return DAWN_CREATION_WIZARD_CLASS_NAME_EDEFAULT == null ? dawnCreationWizardClassName != null
- : !DAWN_CREATION_WIZARD_CLASS_NAME_EDEFAULT.equals(dawnCreationWizardClassName);
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_CANONICAL_EDITING_POLICY_CLASS_NAME:
- return DAWN_CANONICAL_EDITING_POLICY_CLASS_NAME_EDEFAULT == null ? dawnCanonicalEditingPolicyClassName != null
- : !DAWN_CANONICAL_EDITING_POLICY_CLASS_NAME_EDEFAULT.equals(dawnCanonicalEditingPolicyClassName);
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_DIAGRAM_EDIT_PART_CLASS_NAME:
- return DAWN_DIAGRAM_EDIT_PART_CLASS_NAME_EDEFAULT == null ? dawnDiagramEditPartClassName != null
- : !DAWN_DIAGRAM_EDIT_PART_CLASS_NAME_EDEFAULT.equals(dawnDiagramEditPartClassName);
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDIT_PART_FACTORY_CLASS_NAME:
- return DAWN_EDIT_PART_FACTORY_CLASS_NAME_EDEFAULT == null ? dawnEditPartFactoryClassName != null
- : !DAWN_EDIT_PART_FACTORY_CLASS_NAME_EDEFAULT.equals(dawnEditPartFactoryClassName);
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDIT_PART_PROVIDER_CLASS_NAME:
- return DAWN_EDIT_PART_PROVIDER_CLASS_NAME_EDEFAULT == null ? dawnEditPartProviderClassName != null
- : !DAWN_EDIT_PART_PROVIDER_CLASS_NAME_EDEFAULT.equals(dawnEditPartProviderClassName);
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__DAWN_EDIT_POLICY_PROVIDER_CLASS_NAME:
- return DAWN_EDIT_POLICY_PROVIDER_CLASS_NAME_EDEFAULT == null ? dawnEditPolicyProviderClassName != null
- : !DAWN_EDIT_POLICY_PROVIDER_CLASS_NAME_EDEFAULT.equals(dawnEditPolicyProviderClassName);
- case DawngenmodelPackage.DAWN_GMF_GENERATOR__GMF_GEN_EDITOR_GENERATOR:
- return gmfGenEditorGenerator != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (dawnDocumentProviderClassName: ");
- result.append(dawnDocumentProviderClassName);
- result.append(", dawnEditorUtilClassName: ");
- result.append(dawnEditorUtilClassName);
- result.append(", dawnCreationWizardClassName: ");
- result.append(dawnCreationWizardClassName);
- result.append(", dawnCanonicalEditingPolicyClassName: ");
- result.append(dawnCanonicalEditingPolicyClassName);
- result.append(", dawnDiagramEditPartClassName: ");
- result.append(dawnDiagramEditPartClassName);
- result.append(", dawnEditPartFactoryClassName: ");
- result.append(dawnEditPartFactoryClassName);
- result.append(", dawnEditPartProviderClassName: ");
- result.append(dawnEditPartProviderClassName);
- result.append(", dawnEditPolicyProviderClassName: ");
- result.append(dawnEditPolicyProviderClassName);
- result.append(')');
- return result.toString();
- }
-
-} // DawnGMFGeneratorImpl
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawnGeneratorImpl.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawnGeneratorImpl.java
index ba57e560d8..0674d02305 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawnGeneratorImpl.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawnGeneratorImpl.java
@@ -1,319 +1,318 @@
-/**
- * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Martin Fluegge - initial API and implementation
- */
-package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl;
-
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnEMFGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Dawn Generator</b></em>'. <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGeneratorImpl#getEmfFragmentgenerator <em>Emf
- * Fragmentgenerator</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGeneratorImpl#getGmfFragmentgenerator <em>Gmf
- * Fragmentgenerator</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DawnGeneratorImpl extends EObjectImpl implements DawnGenerator
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public static final String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
-
- /**
- * The cached value of the '{@link #getEmfFragmentgenerator() <em>Emf Fragmentgenerator</em>}' containment reference.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getEmfFragmentgenerator()
- * @generated
- * @ordered
- */
- protected DawnEMFGenerator emfFragmentgenerator;
-
- /**
- * The cached value of the '{@link #getGmfFragmentgenerator() <em>Gmf Fragmentgenerator</em>}' containment reference.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getGmfFragmentgenerator()
- * @generated
- * @ordered
- */
- protected DawnGMFGenerator gmfFragmentgenerator;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected DawnGeneratorImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return DawngenmodelPackage.Literals.DAWN_GENERATOR;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public DawnEMFGenerator getEmfFragmentgenerator()
- {
- return emfFragmentgenerator;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetEmfFragmentgenerator(DawnEMFGenerator newEmfFragmentgenerator, NotificationChain msgs)
- {
- DawnEMFGenerator oldEmfFragmentgenerator = emfFragmentgenerator;
- emfFragmentgenerator = newEmfFragmentgenerator;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- DawngenmodelPackage.DAWN_GENERATOR__EMF_FRAGMENTGENERATOR, oldEmfFragmentgenerator, newEmfFragmentgenerator);
- if (msgs == null)
- {
- msgs = notification;
- }
- else
- {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setEmfFragmentgenerator(DawnEMFGenerator newEmfFragmentgenerator)
- {
- if (newEmfFragmentgenerator != emfFragmentgenerator)
- {
- NotificationChain msgs = null;
- if (emfFragmentgenerator != null)
- {
- msgs = ((InternalEObject)emfFragmentgenerator).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - DawngenmodelPackage.DAWN_GENERATOR__EMF_FRAGMENTGENERATOR, null, msgs);
- }
- if (newEmfFragmentgenerator != null)
- {
- msgs = ((InternalEObject)newEmfFragmentgenerator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - DawngenmodelPackage.DAWN_GENERATOR__EMF_FRAGMENTGENERATOR, null, msgs);
- }
- msgs = basicSetEmfFragmentgenerator(newEmfFragmentgenerator, msgs);
- if (msgs != null)
- {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, DawngenmodelPackage.DAWN_GENERATOR__EMF_FRAGMENTGENERATOR,
- newEmfFragmentgenerator, newEmfFragmentgenerator));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public DawnGMFGenerator getGmfFragmentgenerator()
- {
- return gmfFragmentgenerator;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetGmfFragmentgenerator(DawnGMFGenerator newGmfFragmentgenerator, NotificationChain msgs)
- {
- DawnGMFGenerator oldGmfFragmentgenerator = gmfFragmentgenerator;
- gmfFragmentgenerator = newGmfFragmentgenerator;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- DawngenmodelPackage.DAWN_GENERATOR__GMF_FRAGMENTGENERATOR, oldGmfFragmentgenerator, newGmfFragmentgenerator);
- if (msgs == null)
- {
- msgs = notification;
- }
- else
- {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setGmfFragmentgenerator(DawnGMFGenerator newGmfFragmentgenerator)
- {
- if (newGmfFragmentgenerator != gmfFragmentgenerator)
- {
- NotificationChain msgs = null;
- if (gmfFragmentgenerator != null)
- {
- msgs = ((InternalEObject)gmfFragmentgenerator).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - DawngenmodelPackage.DAWN_GENERATOR__GMF_FRAGMENTGENERATOR, null, msgs);
- }
- if (newGmfFragmentgenerator != null)
- {
- msgs = ((InternalEObject)newGmfFragmentgenerator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - DawngenmodelPackage.DAWN_GENERATOR__GMF_FRAGMENTGENERATOR, null, msgs);
- }
- msgs = basicSetGmfFragmentgenerator(newGmfFragmentgenerator, msgs);
- if (msgs != null)
- {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, DawngenmodelPackage.DAWN_GENERATOR__GMF_FRAGMENTGENERATOR,
- newGmfFragmentgenerator, newGmfFragmentgenerator));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case DawngenmodelPackage.DAWN_GENERATOR__EMF_FRAGMENTGENERATOR:
- return basicSetEmfFragmentgenerator(null, msgs);
- case DawngenmodelPackage.DAWN_GENERATOR__GMF_FRAGMENTGENERATOR:
- return basicSetGmfFragmentgenerator(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case DawngenmodelPackage.DAWN_GENERATOR__EMF_FRAGMENTGENERATOR:
- return getEmfFragmentgenerator();
- case DawngenmodelPackage.DAWN_GENERATOR__GMF_FRAGMENTGENERATOR:
- return getGmfFragmentgenerator();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case DawngenmodelPackage.DAWN_GENERATOR__EMF_FRAGMENTGENERATOR:
- setEmfFragmentgenerator((DawnEMFGenerator)newValue);
- return;
- case DawngenmodelPackage.DAWN_GENERATOR__GMF_FRAGMENTGENERATOR:
- setGmfFragmentgenerator((DawnGMFGenerator)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case DawngenmodelPackage.DAWN_GENERATOR__EMF_FRAGMENTGENERATOR:
- setEmfFragmentgenerator((DawnEMFGenerator)null);
- return;
- case DawngenmodelPackage.DAWN_GENERATOR__GMF_FRAGMENTGENERATOR:
- setGmfFragmentgenerator((DawnGMFGenerator)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case DawngenmodelPackage.DAWN_GENERATOR__EMF_FRAGMENTGENERATOR:
- return emfFragmentgenerator != null;
- case DawngenmodelPackage.DAWN_GENERATOR__GMF_FRAGMENTGENERATOR:
- return gmfFragmentgenerator != null;
- }
- return super.eIsSet(featureID);
- }
-
-} // DawnGeneratorImpl
+/**
+ * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Martin Fluegge - initial API and implementation
+ */
+package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl;
+
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator;
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Dawn Generator</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGeneratorImpl#getConflictColor <em>Conflict Color
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGeneratorImpl#getLocalLockColor <em>Local Lock
+ * Color</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl.DawnGeneratorImpl#getRemoteLockColor <em>Remote Lock
+ * Color</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ * @since 1.0
+ */
+public class DawnGeneratorImpl extends EObjectImpl implements DawnGenerator
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public static final String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
+
+ /**
+ * The default value of the '{@link #getConflictColor() <em>Conflict Color</em>}' attribute. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getConflictColor()
+ * @generated
+ * @ordered
+ */
+ protected static final String CONFLICT_COLOR_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getConflictColor() <em>Conflict Color</em>}' attribute. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getConflictColor()
+ * @generated
+ * @ordered
+ */
+ protected String conflictColor = CONFLICT_COLOR_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getLocalLockColor() <em>Local Lock Color</em>}' attribute. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @see #getLocalLockColor()
+ * @generated
+ * @ordered
+ */
+ protected static final String LOCAL_LOCK_COLOR_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getLocalLockColor() <em>Local Lock Color</em>}' attribute. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getLocalLockColor()
+ * @generated
+ * @ordered
+ */
+ protected String localLockColor = LOCAL_LOCK_COLOR_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getRemoteLockColor() <em>Remote Lock Color</em>}' attribute. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @see #getRemoteLockColor()
+ * @generated
+ * @ordered
+ */
+ protected static final String REMOTE_LOCK_COLOR_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getRemoteLockColor() <em>Remote Lock Color</em>}' attribute. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @see #getRemoteLockColor()
+ * @generated
+ * @ordered
+ */
+ protected String remoteLockColor = REMOTE_LOCK_COLOR_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected DawnGeneratorImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return DawngenmodelPackage.Literals.DAWN_GENERATOR;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getConflictColor()
+ {
+ return conflictColor;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setConflictColor(String newConflictColor)
+ {
+ String oldConflictColor = conflictColor;
+ conflictColor = newConflictColor;
+ if (eNotificationRequired())
+ {
+ eNotify(new ENotificationImpl(this, Notification.SET, DawngenmodelPackage.DAWN_GENERATOR__CONFLICT_COLOR,
+ oldConflictColor, conflictColor));
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getLocalLockColor()
+ {
+ return localLockColor;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setLocalLockColor(String newLocalLockColor)
+ {
+ String oldLocalLockColor = localLockColor;
+ localLockColor = newLocalLockColor;
+ if (eNotificationRequired())
+ {
+ eNotify(new ENotificationImpl(this, Notification.SET, DawngenmodelPackage.DAWN_GENERATOR__LOCAL_LOCK_COLOR,
+ oldLocalLockColor, localLockColor));
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getRemoteLockColor()
+ {
+ return remoteLockColor;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setRemoteLockColor(String newRemoteLockColor)
+ {
+ String oldRemoteLockColor = remoteLockColor;
+ remoteLockColor = newRemoteLockColor;
+ if (eNotificationRequired())
+ {
+ eNotify(new ENotificationImpl(this, Notification.SET, DawngenmodelPackage.DAWN_GENERATOR__REMOTE_LOCK_COLOR,
+ oldRemoteLockColor, remoteLockColor));
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case DawngenmodelPackage.DAWN_GENERATOR__CONFLICT_COLOR:
+ return getConflictColor();
+ case DawngenmodelPackage.DAWN_GENERATOR__LOCAL_LOCK_COLOR:
+ return getLocalLockColor();
+ case DawngenmodelPackage.DAWN_GENERATOR__REMOTE_LOCK_COLOR:
+ return getRemoteLockColor();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case DawngenmodelPackage.DAWN_GENERATOR__CONFLICT_COLOR:
+ setConflictColor((String)newValue);
+ return;
+ case DawngenmodelPackage.DAWN_GENERATOR__LOCAL_LOCK_COLOR:
+ setLocalLockColor((String)newValue);
+ return;
+ case DawngenmodelPackage.DAWN_GENERATOR__REMOTE_LOCK_COLOR:
+ setRemoteLockColor((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case DawngenmodelPackage.DAWN_GENERATOR__CONFLICT_COLOR:
+ setConflictColor(CONFLICT_COLOR_EDEFAULT);
+ return;
+ case DawngenmodelPackage.DAWN_GENERATOR__LOCAL_LOCK_COLOR:
+ setLocalLockColor(LOCAL_LOCK_COLOR_EDEFAULT);
+ return;
+ case DawngenmodelPackage.DAWN_GENERATOR__REMOTE_LOCK_COLOR:
+ setRemoteLockColor(REMOTE_LOCK_COLOR_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case DawngenmodelPackage.DAWN_GENERATOR__CONFLICT_COLOR:
+ return CONFLICT_COLOR_EDEFAULT == null ? conflictColor != null : !CONFLICT_COLOR_EDEFAULT.equals(conflictColor);
+ case DawngenmodelPackage.DAWN_GENERATOR__LOCAL_LOCK_COLOR:
+ return LOCAL_LOCK_COLOR_EDEFAULT == null ? localLockColor != null : !LOCAL_LOCK_COLOR_EDEFAULT
+ .equals(localLockColor);
+ case DawngenmodelPackage.DAWN_GENERATOR__REMOTE_LOCK_COLOR:
+ return REMOTE_LOCK_COLOR_EDEFAULT == null ? remoteLockColor != null : !REMOTE_LOCK_COLOR_EDEFAULT
+ .equals(remoteLockColor);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy())
+ {
+ return super.toString();
+ }
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (conflictColor: ");
+ result.append(conflictColor);
+ result.append(", localLockColor: ");
+ result.append(localLockColor);
+ result.append(", remoteLockColor: ");
+ result.append(remoteLockColor);
+ result.append(')');
+ return result.toString();
+ }
+
+} // DawnGeneratorImpl
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawngenmodelFactoryImpl.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawngenmodelFactoryImpl.java
index 968d14112d..f2a55c6ffc 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawngenmodelFactoryImpl.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawngenmodelFactoryImpl.java
@@ -1,162 +1,136 @@
-/**
- * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Martin Fluegge - initial API and implementation
- */
-package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl;
-
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnEMFGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelFactory;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
- *
- * @generated
- */
-public class DawngenmodelFactoryImpl extends EFactoryImpl implements DawngenmodelFactory
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public static final String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
-
- /**
- * Creates the default factory implementation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public static DawngenmodelFactory init()
- {
- try
- {
- DawngenmodelFactory theDawngenmodelFactory = (DawngenmodelFactory)EPackage.Registry.INSTANCE
- .getEFactory("http://www.eclipse.org/emf/cdo/dawn/2010/GenModel");
- if (theDawngenmodelFactory != null)
- {
- return theDawngenmodelFactory;
- }
- }
- catch (Exception exception)
- {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new DawngenmodelFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public DawngenmodelFactoryImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EObject create(EClass eClass)
- {
- switch (eClass.getClassifierID())
- {
- case DawngenmodelPackage.DAWN_GENERATOR:
- return createDawnGenerator();
- case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR:
- return createDawnFragmentGenerator();
- case DawngenmodelPackage.DAWN_GMF_GENERATOR:
- return createDawnGMFGenerator();
- case DawngenmodelPackage.DAWN_EMF_GENERATOR:
- return createDawnEMFGenerator();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public DawnGenerator createDawnGenerator()
- {
- DawnGeneratorImpl dawnGenerator = new DawnGeneratorImpl();
- return dawnGenerator;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public DawnFragmentGenerator createDawnFragmentGenerator()
- {
- DawnFragmentGeneratorImpl dawnFragmentGenerator = new DawnFragmentGeneratorImpl();
- return dawnFragmentGenerator;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public DawnGMFGenerator createDawnGMFGenerator()
- {
- DawnGMFGeneratorImpl dawnGMFGenerator = new DawnGMFGeneratorImpl();
- return dawnGMFGenerator;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public DawnEMFGenerator createDawnEMFGenerator()
- {
- DawnEMFGeneratorImpl dawnEMFGenerator = new DawnEMFGeneratorImpl();
- return dawnEMFGenerator;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public DawngenmodelPackage getDawngenmodelPackage()
- {
- return (DawngenmodelPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @deprecated
- * @generated
- */
- @Deprecated
- public static DawngenmodelPackage getPackage()
- {
- return DawngenmodelPackage.eINSTANCE;
- }
-
-} // DawngenmodelFactoryImpl
+/**
+ * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Martin Fluegge - initial API and implementation
+ */
+package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl;
+
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator;
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator;
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelFactory;
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
+ *
+ * @generated
+ */
+public class DawngenmodelFactoryImpl extends EFactoryImpl implements DawngenmodelFactory
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public static final String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
+
+ /**
+ * Creates the default factory implementation. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public static DawngenmodelFactory init()
+ {
+ try
+ {
+ DawngenmodelFactory theDawngenmodelFactory = (DawngenmodelFactory)EPackage.Registry.INSTANCE
+ .getEFactory("http://www.eclipse.org/emf/cdo/dawn/2010/GenModel");
+ if (theDawngenmodelFactory != null)
+ {
+ return theDawngenmodelFactory;
+ }
+ }
+ catch (Exception exception)
+ {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new DawngenmodelFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public DawngenmodelFactoryImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass)
+ {
+ switch (eClass.getClassifierID())
+ {
+ case DawngenmodelPackage.DAWN_GENERATOR:
+ return createDawnGenerator();
+ case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR:
+ return createDawnFragmentGenerator();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @since 1.0
+ */
+ public DawnGenerator createDawnGenerator()
+ {
+ DawnGeneratorImpl dawnGenerator = new DawnGeneratorImpl();
+ return dawnGenerator;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @since 1.0
+ */
+ public DawnFragmentGenerator createDawnFragmentGenerator()
+ {
+ DawnFragmentGeneratorImpl dawnFragmentGenerator = new DawnFragmentGeneratorImpl();
+ return dawnFragmentGenerator;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public DawngenmodelPackage getDawngenmodelPackage()
+ {
+ return (DawngenmodelPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static DawngenmodelPackage getPackage()
+ {
+ return DawngenmodelPackage.eINSTANCE;
+ }
+
+} // DawngenmodelFactoryImpl
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawngenmodelPackageImpl.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawngenmodelPackageImpl.java
index 464037f2be..559128a4ac 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawngenmodelPackageImpl.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/impl/DawngenmodelPackageImpl.java
@@ -1,467 +1,315 @@
-/**
- * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Martin Fluegge - initial API and implementation
- */
-package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl;
-
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnEMFGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelFactory;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage;
-
-import org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EcorePackage;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.gmf.codegen.gmfgen.GMFGenPackage;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
- *
- * @generated
- */
-public class DawngenmodelPackageImpl extends EPackageImpl implements DawngenmodelPackage
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public static final String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass dawnGeneratorEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass dawnFragmentGeneratorEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass dawnGMFGeneratorEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass dawnEMFGeneratorEClass = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry
- * EPackage.Registry} by the package package URI value.
- * <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also
- * performs initialization of the package, or returns the registered package, if one already exists. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private DawngenmodelPackageImpl()
- {
- super(eNS_URI, DawngenmodelFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- * <p>
- * This method is used to initialize {@link DawngenmodelPackage#eINSTANCE} when that field is accessed. Clients should
- * not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static DawngenmodelPackage init()
- {
- if (isInited)
- return (DawngenmodelPackage)EPackage.Registry.INSTANCE.getEPackage(DawngenmodelPackage.eNS_URI);
-
- // Obtain or create and register package
- DawngenmodelPackageImpl theDawngenmodelPackage = (DawngenmodelPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DawngenmodelPackageImpl ? EPackage.Registry.INSTANCE
- .get(eNS_URI) : new DawngenmodelPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- GMFGenPackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theDawngenmodelPackage.createPackageContents();
-
- // Initialize created meta-data
- theDawngenmodelPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theDawngenmodelPackage.freeze();
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(DawngenmodelPackage.eNS_URI, theDawngenmodelPackage);
- return theDawngenmodelPackage;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getDawnGenerator()
- {
- return dawnGeneratorEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getDawnGenerator_EmfFragmentgenerator()
- {
- return (EReference)dawnGeneratorEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getDawnGenerator_GmfFragmentgenerator()
- {
- return (EReference)dawnGeneratorEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getDawnFragmentGenerator()
- {
- return dawnFragmentGeneratorEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDawnFragmentGenerator_FragmentName()
- {
- return (EAttribute)dawnFragmentGeneratorEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDawnFragmentGenerator_DawnEditorClassName()
- {
- return (EAttribute)dawnFragmentGeneratorEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getDawnFragmentGenerator_EmfGenModel()
- {
- return (EReference)dawnFragmentGeneratorEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getDawnGMFGenerator()
- {
- return dawnGMFGeneratorEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDawnGMFGenerator_DawnDocumentProviderClassName()
- {
- return (EAttribute)dawnGMFGeneratorEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDawnGMFGenerator_DawnEditorUtilClassName()
- {
- return (EAttribute)dawnGMFGeneratorEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDawnGMFGenerator_DawnCreationWizardClassName()
- {
- return (EAttribute)dawnGMFGeneratorEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDawnGMFGenerator_DawnCanonicalEditingPolicyClassName()
- {
- return (EAttribute)dawnGMFGeneratorEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDawnGMFGenerator_DawnDiagramEditPartClassName()
- {
- return (EAttribute)dawnGMFGeneratorEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDawnGMFGenerator_DawnEditPartFactoryClassName()
- {
- return (EAttribute)dawnGMFGeneratorEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDawnGMFGenerator_DawnEditPartProviderClassName()
- {
- return (EAttribute)dawnGMFGeneratorEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDawnGMFGenerator_DawnEditPolicyProviderClassName()
- {
- return (EAttribute)dawnGMFGeneratorEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getDawnGMFGenerator_GMFGenEditorGenerator()
- {
- return (EReference)dawnGMFGeneratorEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getDawnEMFGenerator()
- {
- return dawnEMFGeneratorEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public DawngenmodelFactory getDawngenmodelFactory()
- {
- return (DawngenmodelFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its
- * first. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void createPackageContents()
- {
- if (isCreated)
- return;
- isCreated = true;
-
- // Create classes and their features
- dawnGeneratorEClass = createEClass(DAWN_GENERATOR);
- createEReference(dawnGeneratorEClass, DAWN_GENERATOR__EMF_FRAGMENTGENERATOR);
- createEReference(dawnGeneratorEClass, DAWN_GENERATOR__GMF_FRAGMENTGENERATOR);
-
- dawnFragmentGeneratorEClass = createEClass(DAWN_FRAGMENT_GENERATOR);
- createEAttribute(dawnFragmentGeneratorEClass, DAWN_FRAGMENT_GENERATOR__FRAGMENT_NAME);
- createEAttribute(dawnFragmentGeneratorEClass, DAWN_FRAGMENT_GENERATOR__DAWN_EDITOR_CLASS_NAME);
- createEReference(dawnFragmentGeneratorEClass, DAWN_FRAGMENT_GENERATOR__EMF_GEN_MODEL);
-
- dawnGMFGeneratorEClass = createEClass(DAWN_GMF_GENERATOR);
- createEAttribute(dawnGMFGeneratorEClass, DAWN_GMF_GENERATOR__DAWN_DOCUMENT_PROVIDER_CLASS_NAME);
- createEAttribute(dawnGMFGeneratorEClass, DAWN_GMF_GENERATOR__DAWN_EDITOR_UTIL_CLASS_NAME);
- createEAttribute(dawnGMFGeneratorEClass, DAWN_GMF_GENERATOR__DAWN_CREATION_WIZARD_CLASS_NAME);
- createEAttribute(dawnGMFGeneratorEClass, DAWN_GMF_GENERATOR__DAWN_CANONICAL_EDITING_POLICY_CLASS_NAME);
- createEAttribute(dawnGMFGeneratorEClass, DAWN_GMF_GENERATOR__DAWN_DIAGRAM_EDIT_PART_CLASS_NAME);
- createEAttribute(dawnGMFGeneratorEClass, DAWN_GMF_GENERATOR__DAWN_EDIT_PART_FACTORY_CLASS_NAME);
- createEAttribute(dawnGMFGeneratorEClass, DAWN_GMF_GENERATOR__DAWN_EDIT_PART_PROVIDER_CLASS_NAME);
- createEAttribute(dawnGMFGeneratorEClass, DAWN_GMF_GENERATOR__DAWN_EDIT_POLICY_PROVIDER_CLASS_NAME);
- createEReference(dawnGMFGeneratorEClass, DAWN_GMF_GENERATOR__GMF_GEN_EDITOR_GENERATOR);
-
- dawnEMFGeneratorEClass = createEClass(DAWN_EMF_GENERATOR);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any
- * invocation but its first. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void initializePackageContents()
- {
- if (isInitialized)
- return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
- GenModelPackage theGenModelPackage = (GenModelPackage)EPackage.Registry.INSTANCE
- .getEPackage(GenModelPackage.eNS_URI);
- GMFGenPackage theGMFGenPackage = (GMFGenPackage)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- dawnGMFGeneratorEClass.getESuperTypes().add(this.getDawnFragmentGenerator());
- dawnEMFGeneratorEClass.getESuperTypes().add(this.getDawnFragmentGenerator());
-
- // Initialize classes and features; add operations and parameters
- initEClass(dawnGeneratorEClass, DawnGenerator.class, "DawnGenerator", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEReference(getDawnGenerator_EmfFragmentgenerator(), this.getDawnEMFGenerator(), null, "emfFragmentgenerator",
- null, 0, 1, DawnGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDawnGenerator_GmfFragmentgenerator(), this.getDawnGMFGenerator(), null, "gmfFragmentgenerator",
- null, 0, 1, DawnGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(dawnFragmentGeneratorEClass, DawnFragmentGenerator.class, "DawnFragmentGenerator", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDawnFragmentGenerator_FragmentName(), theEcorePackage.getEString(), "fragmentName", null, 0, 1,
- DawnFragmentGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getDawnFragmentGenerator_DawnEditorClassName(), theEcorePackage.getEString(), "dawnEditorClassName",
- null, 0, 1, DawnFragmentGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDawnFragmentGenerator_EmfGenModel(), theGenModelPackage.getGenModel(), null, "emfGenModel", null,
- 0, 1, DawnFragmentGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
- IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(dawnGMFGeneratorEClass, DawnGMFGenerator.class, "DawnGMFGenerator", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDawnGMFGenerator_DawnDocumentProviderClassName(), theEcorePackage.getEString(),
- "dawnDocumentProviderClassName", null, 0, 1, DawnGMFGenerator.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getDawnGMFGenerator_DawnEditorUtilClassName(), theEcorePackage.getEString(),
- "dawnEditorUtilClassName", null, 0, 1, DawnGMFGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getDawnGMFGenerator_DawnCreationWizardClassName(), theEcorePackage.getEString(),
- "dawnCreationWizardClassName", null, 0, 1, DawnGMFGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getDawnGMFGenerator_DawnCanonicalEditingPolicyClassName(), theEcorePackage.getEString(),
- "dawnCanonicalEditingPolicyClassName", null, 0, 1, DawnGMFGenerator.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getDawnGMFGenerator_DawnDiagramEditPartClassName(), theEcorePackage.getEString(),
- "dawnDiagramEditPartClassName", null, 0, 1, DawnGMFGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getDawnGMFGenerator_DawnEditPartFactoryClassName(), theEcorePackage.getEString(),
- "dawnEditPartFactoryClassName", null, 0, 1, DawnGMFGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getDawnGMFGenerator_DawnEditPartProviderClassName(), theEcorePackage.getEString(),
- "dawnEditPartProviderClassName", null, 0, 1, DawnGMFGenerator.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getDawnGMFGenerator_DawnEditPolicyProviderClassName(), theEcorePackage.getEString(),
- "dawnEditPolicyProviderClassName", null, 0, 1, DawnGMFGenerator.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDawnGMFGenerator_GMFGenEditorGenerator(), theGMFGenPackage.getGenEditorGenerator(), null,
- "GMFGenEditorGenerator", null, 0, 1, DawnGMFGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(dawnEMFGeneratorEClass, DawnEMFGenerator.class, "DawnEMFGenerator", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} // DawngenmodelPackageImpl
+/**
+ * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Martin Fluegge - initial API and implementation
+ */
+package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.impl;
+
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator;
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator;
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelFactory;
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.ecore.EcorePackage;
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
+ *
+ * @generated
+ */
+public class DawngenmodelPackageImpl extends EPackageImpl implements DawngenmodelPackage
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public static final String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass dawnGeneratorEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass dawnFragmentGeneratorEClass = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry
+ * EPackage.Registry} by the package package URI value.
+ * <p>
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also
+ * performs initialization of the package, or returns the registered package, if one already exists. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private DawngenmodelPackageImpl()
+ {
+ super(eNS_URI, DawngenmodelFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ * <p>
+ * This method is used to initialize {@link DawngenmodelPackage#eINSTANCE} when that field is accessed. Clients should
+ * not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static DawngenmodelPackage init()
+ {
+ if (isInited)
+ {
+ return (DawngenmodelPackage)EPackage.Registry.INSTANCE.getEPackage(DawngenmodelPackage.eNS_URI);
+ }
+
+ // Obtain or create and register package
+ DawngenmodelPackageImpl theDawngenmodelPackage = (DawngenmodelPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DawngenmodelPackageImpl ? EPackage.Registry.INSTANCE
+ .get(eNS_URI) : new DawngenmodelPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ EcorePackage.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ theDawngenmodelPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theDawngenmodelPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theDawngenmodelPackage.freeze();
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(DawngenmodelPackage.eNS_URI, theDawngenmodelPackage);
+ return theDawngenmodelPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @since 1.0
+ */
+ public EClass getDawnGenerator()
+ {
+ return dawnGeneratorEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @since 1.0
+ */
+ public EAttribute getDawnGenerator_ConflictColor()
+ {
+ return (EAttribute)dawnGeneratorEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @since 1.0
+ */
+ public EAttribute getDawnGenerator_LocalLockColor()
+ {
+ return (EAttribute)dawnGeneratorEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @since 1.0
+ */
+ public EAttribute getDawnGenerator_RemoteLockColor()
+ {
+ return (EAttribute)dawnGeneratorEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @since 1.0
+ */
+ public EClass getDawnFragmentGenerator()
+ {
+ return dawnFragmentGeneratorEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @since 1.0
+ */
+ public EAttribute getDawnFragmentGenerator_FragmentName()
+ {
+ return (EAttribute)dawnFragmentGeneratorEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @since 1.0
+ */
+ public EAttribute getDawnFragmentGenerator_DawnEditorClassName()
+ {
+ return (EAttribute)dawnFragmentGeneratorEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @since 1.0
+ */
+ public EReference getDawnFragmentGenerator_DawnGenerator()
+ {
+ return (EReference)dawnFragmentGeneratorEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public DawngenmodelFactory getDawngenmodelFactory()
+ {
+ return (DawngenmodelFactory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its
+ * first. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void createPackageContents()
+ {
+ if (isCreated)
+ {
+ return;
+ }
+ isCreated = true;
+
+ // Create classes and their features
+ dawnGeneratorEClass = createEClass(DAWN_GENERATOR);
+ createEAttribute(dawnGeneratorEClass, DAWN_GENERATOR__CONFLICT_COLOR);
+ createEAttribute(dawnGeneratorEClass, DAWN_GENERATOR__LOCAL_LOCK_COLOR);
+ createEAttribute(dawnGeneratorEClass, DAWN_GENERATOR__REMOTE_LOCK_COLOR);
+
+ dawnFragmentGeneratorEClass = createEClass(DAWN_FRAGMENT_GENERATOR);
+ createEAttribute(dawnFragmentGeneratorEClass, DAWN_FRAGMENT_GENERATOR__FRAGMENT_NAME);
+ createEAttribute(dawnFragmentGeneratorEClass, DAWN_FRAGMENT_GENERATOR__DAWN_EDITOR_CLASS_NAME);
+ createEReference(dawnFragmentGeneratorEClass, DAWN_FRAGMENT_GENERATOR__DAWN_GENERATOR);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any
+ * invocation but its first. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void initializePackageContents()
+ {
+ if (isInitialized)
+ {
+ return;
+ }
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(dawnGeneratorEClass, DawnGenerator.class, "DawnGenerator", !IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDawnGenerator_ConflictColor(), theEcorePackage.getEString(), "conflictColor", null, 0, 1,
+ DawnGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDawnGenerator_LocalLockColor(), theEcorePackage.getEString(), "localLockColor", null, 0, 1,
+ DawnGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDawnGenerator_RemoteLockColor(), theEcorePackage.getEString(), "remoteLockColor", null, 0, 1,
+ DawnGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dawnFragmentGeneratorEClass, DawnFragmentGenerator.class, "DawnFragmentGenerator", !IS_ABSTRACT,
+ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDawnFragmentGenerator_FragmentName(), theEcorePackage.getEString(), "fragmentName", null, 0, 1,
+ DawnFragmentGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDawnFragmentGenerator_DawnEditorClassName(), theEcorePackage.getEString(), "dawnEditorClassName",
+ null, 0, 1, DawnFragmentGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDawnFragmentGenerator_DawnGenerator(), getDawnGenerator(), null, "dawnGenerator", null, 0, 1,
+ DawnFragmentGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Create resource
+ createResource(eNS_URI);
+ }
+
+} // DawngenmodelPackageImpl
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/util/DawngenmodelAdapterFactory.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/util/DawngenmodelAdapterFactory.java
index da0b368d0e..7fe803cd34 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/util/DawngenmodelAdapterFactory.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/util/DawngenmodelAdapterFactory.java
@@ -1,208 +1,163 @@
-/**
- * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Martin Fluegge - initial API and implementation
- */
-package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.util;
-
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnEMFGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter <code>createXXX</code>
- * method for each class of the model. <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage
- * @generated
- */
-public class DawngenmodelAdapterFactory extends AdapterFactoryImpl
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public static final String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
-
- /**
- * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected static DawngenmodelPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public DawngenmodelAdapterFactory()
- {
- if (modelPackage == null)
- {
- modelPackage = DawngenmodelPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object. <!-- begin-user-doc --> This implementation
- * returns <code>true</code> if the object is either the model's package or is an instance object of the model. <!--
- * end-user-doc -->
- *
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object)
- {
- if (object == modelPackage)
- {
- return true;
- }
- if (object instanceof EObject)
- {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch that delegates to the <code>createXXX</code> methods. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected DawngenmodelSwitch<Adapter> modelSwitch = new DawngenmodelSwitch<Adapter>()
- {
- @Override
- public Adapter caseDawnGenerator(DawnGenerator object)
- {
- return createDawnGeneratorAdapter();
- }
-
- @Override
- public Adapter caseDawnFragmentGenerator(DawnFragmentGenerator object)
- {
- return createDawnFragmentGeneratorAdapter();
- }
-
- @Override
- public Adapter caseDawnGMFGenerator(DawnGMFGenerator object)
- {
- return createDawnGMFGeneratorAdapter();
- }
-
- @Override
- public Adapter caseDawnEMFGenerator(DawnEMFGenerator object)
- {
- return createDawnEMFGeneratorAdapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object)
- {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param target
- * the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target)
- {
- return modelSwitch.doSwitch((EObject)target);
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator
- * <em>Dawn Generator</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily
- * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @since 1.0 <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator
- * @generated
- */
- public Adapter createDawnGeneratorAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator <em>Dawn Fragment Generator</em>}'. <!--
- * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway.
- *
- * @since 1.0 <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator
- * @generated
- */
- public Adapter createDawnFragmentGeneratorAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator <em>Dawn GMF Generator</em>}'. <!--
- * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator
- * @generated
- */
- public Adapter createDawnGMFGeneratorAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnEMFGenerator <em>Dawn EMF Generator</em>}'. <!--
- * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway.
- *
- * @since 1.0 <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnEMFGenerator
- * @generated
- */
- public Adapter createDawnEMFGeneratorAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case. <!-- begin-user-doc --> This default implementation returns null. <!--
- * end-user-doc -->
- *
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter()
- {
- return null;
- }
-
-} // DawngenmodelAdapterFactory
+/**
+ * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Martin Fluegge - initial API and implementation
+ */
+package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.util;
+
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator;
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator;
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter <code>createXXX</code>
+ * method for each class of the model. <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage
+ * @generated
+ */
+public class DawngenmodelAdapterFactory extends AdapterFactoryImpl
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public static final String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
+
+ /**
+ * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected static DawngenmodelPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public DawngenmodelAdapterFactory()
+ {
+ if (modelPackage == null)
+ {
+ modelPackage = DawngenmodelPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object. <!-- begin-user-doc --> This implementation
+ * returns <code>true</code> if the object is either the model's package or is an instance object of the model. <!--
+ * end-user-doc -->
+ *
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object)
+ {
+ if (object == modelPackage)
+ {
+ return true;
+ }
+ if (object instanceof EObject)
+ {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected DawngenmodelSwitch<Adapter> modelSwitch = new DawngenmodelSwitch<Adapter>()
+ {
+ @Override
+ public Adapter caseDawnGenerator(DawnGenerator object)
+ {
+ return createDawnGeneratorAdapter();
+ }
+
+ @Override
+ public Adapter caseDawnFragmentGenerator(DawnFragmentGenerator object)
+ {
+ return createDawnFragmentGeneratorAdapter();
+ }
+
+ @Override
+ public Adapter defaultCase(EObject object)
+ {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param target
+ * the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target)
+ {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator
+ * <em>Dawn Generator</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily
+ * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator
+ * @generated
+ * @since 1.0
+ */
+ public Adapter createDawnGeneratorAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '
+ * {@link org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator <em>Dawn Fragment Generator</em>}'. <!--
+ * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
+ * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator
+ * @generated
+ * @since 1.0
+ */
+ public Adapter createDawnFragmentGeneratorAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case. <!-- begin-user-doc --> This default implementation returns null. <!--
+ * end-user-doc -->
+ *
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter()
+ {
+ return null;
+ }
+
+} // DawngenmodelAdapterFactory
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/util/DawngenmodelSwitch.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/util/DawngenmodelSwitch.java
index 58ca2cb359..8a44fd2aec 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/util/DawngenmodelSwitch.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/util/DawngenmodelSwitch.java
@@ -1,234 +1,159 @@
-/**
- * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Martin Fluegge - initial API and implementation
- */
-package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.util;
-
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnEMFGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGMFGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator;
-import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import java.util.List;
-
-/**
- * <!-- begin-user-doc --> The <b>Switch</b> for the model's inheritance hierarchy. It supports the call
- * {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is
- * returned, which is the result of the switch. <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage
- * @generated
- */
-public class DawngenmodelSwitch<T>
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public static final String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
-
- /**
- * The cached model package <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected static DawngenmodelPackage modelPackage;
-
- /**
- * Creates an instance of the switch. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public DawngenmodelSwitch()
- {
- if (modelPackage == null)
- {
- modelPackage = DawngenmodelPackage.eINSTANCE;
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- public T doSwitch(EObject theEObject)
- {
- return doSwitch(theEObject.eClass(), theEObject);
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected T doSwitch(EClass theEClass, EObject theEObject)
- {
- if (theEClass.eContainer() == modelPackage)
- {
- return doSwitch(theEClass.getClassifierID(), theEObject);
- }
- List<EClass> eSuperTypes = theEClass.getESuperTypes();
- return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0), theEObject);
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected T doSwitch(int classifierID, EObject theEObject)
- {
- switch (classifierID)
- {
- case DawngenmodelPackage.DAWN_GENERATOR:
- {
- DawnGenerator dawnGenerator = (DawnGenerator)theEObject;
- T result = caseDawnGenerator(dawnGenerator);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR:
- {
- DawnFragmentGenerator dawnFragmentGenerator = (DawnFragmentGenerator)theEObject;
- T result = caseDawnFragmentGenerator(dawnFragmentGenerator);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case DawngenmodelPackage.DAWN_GMF_GENERATOR:
- {
- DawnGMFGenerator dawnGMFGenerator = (DawnGMFGenerator)theEObject;
- T result = caseDawnGMFGenerator(dawnGMFGenerator);
- if (result == null)
- {
- result = caseDawnFragmentGenerator(dawnGMFGenerator);
- }
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case DawngenmodelPackage.DAWN_EMF_GENERATOR:
- {
- DawnEMFGenerator dawnEMFGenerator = (DawnEMFGenerator)theEObject;
- T result = caseDawnEMFGenerator(dawnEMFGenerator);
- if (result == null)
- {
- result = caseDawnFragmentGenerator(dawnEMFGenerator);
- }
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- default:
- return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Dawn Generator</em>'. <!-- begin-user-doc -->
- * This implementation returns null; returning a non-null result will terminate the switch.
- *
- * @since 1.0 <!-- end-user-doc -->
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Dawn Generator</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseDawnGenerator(DawnGenerator object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Dawn Fragment Generator</em>'. <!--
- * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch.
- *
- * @since 1.0<!-- end-user-doc -->
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Dawn Fragment Generator</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseDawnFragmentGenerator(DawnFragmentGenerator object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Dawn GMF Generator</em>'. <!-- begin-user-doc
- * --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Dawn GMF Generator</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseDawnGMFGenerator(DawnGMFGenerator object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Dawn EMF Generator</em>'. <!-- begin-user-doc
- * --> This implementation returns null; returning a non-null result will terminate the switch.
- *
- * @since 1.0 <!-- end-user-doc -->
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Dawn EMF Generator</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseDawnEMFGenerator(DawnEMFGenerator object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. <!-- begin-user-doc --> This
- * implementation returns null; returning a non-null result will terminate the switch, but this is the last case
- * anyway. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public T defaultCase(EObject object)
- {
- return null;
- }
-
-} // DawngenmodelSwitch
+/**
+ * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Martin Fluegge - initial API and implementation
+ */
+package org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.util;
+
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnFragmentGenerator;
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawnGenerator;
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.util.Switch;
+
+/**
+ * <!-- begin-user-doc --> The <b>Switch</b> for the model's inheritance hierarchy. It supports the call
+ * {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is
+ * returned, which is the result of the switch. <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage
+ * @generated
+ */
+public class DawngenmodelSwitch<T> extends Switch<T>
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public static final String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
+
+ /**
+ * The cached model package <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected static DawngenmodelPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public DawngenmodelSwitch()
+ {
+ if (modelPackage == null)
+ {
+ modelPackage = DawngenmodelPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Checks whether this is a switch for the given package. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @parameter ePackage the package in question.
+ * @return whether this is a switch for the given package.
+ * @generated
+ */
+ @Override
+ protected boolean isSwitchFor(EPackage ePackage)
+ {
+ return ePackage == modelPackage;
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ @Override
+ protected T doSwitch(int classifierID, EObject theEObject)
+ {
+ switch (classifierID)
+ {
+ case DawngenmodelPackage.DAWN_GENERATOR:
+ {
+ DawnGenerator dawnGenerator = (DawnGenerator)theEObject;
+ T result = caseDawnGenerator(dawnGenerator);
+ if (result == null)
+ {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case DawngenmodelPackage.DAWN_FRAGMENT_GENERATOR:
+ {
+ DawnFragmentGenerator dawnFragmentGenerator = (DawnFragmentGenerator)theEObject;
+ T result = caseDawnFragmentGenerator(dawnFragmentGenerator);
+ if (result == null)
+ {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Dawn Generator</em>'. <!-- begin-user-doc -->
+ * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Dawn Generator</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ * @since 1.0
+ */
+ public T caseDawnGenerator(DawnGenerator object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Dawn Fragment Generator</em>'. <!--
+ * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!--
+ * end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Dawn Fragment Generator</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ * @since 1.0
+ */
+ public T caseDawnFragmentGenerator(DawnFragmentGenerator object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. <!-- begin-user-doc --> This
+ * implementation returns null; returning a non-null result will terminate the switch, but this is the last case
+ * anyway. <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ @Override
+ public T defaultCase(EObject object)
+ {
+ return null;
+ }
+
+} // DawngenmodelSwitch

Back to the top